From 58c226dc7648fe411cc82a9558f456b8b98a7eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 15 Mar 2007 21:23:56 +0000 Subject: more fixes svn path=/trunk/externals/iem/snmp/; revision=7494 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 96f86a2..b1b7098 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ default: all install install-bin install-doc install-abs \ tests -HELPERSOURCES= +HELPERSOURCES=snmp.c OBJECTSOURCES=$(sort $(filter-out $(HELPERSOURCES), $(filter %.c, $(wildcard *.c)))) SOURCES=$(OBJECTSOURCES) $(HELPERSOURCES) @@ -28,7 +28,7 @@ ifdef MAKEDEP_FLAGS ## see http://www.gnu.org/software/make/manual/html_node/make_47.html#SEC51 %.d: %.c @set -e; rm -f $@; \ - $(CPP) $(MAKEDEP_FLAGS) $(Z_CFLAGS) $< > $@.$$$$; \ + $(CPP) $(MAKEDEP_FLAGS) $(CFLAGS) $< > $@.$$$$; \ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ rm -f $@.$$$$ endif @@ -59,7 +59,7 @@ $(LIBNAME): $(TARGETS) $(STRIP) $(STRIPFLAGS) $(LIBNAME).$(EXT) $(TARGETS): %.o : %.c - $(CC) $(Z_CFLAGS) -c -o $@ $*.c + $(CC) $(CFLAGS) -c -o $@ $*.c clean: -rm -f *.$(EXT) *.o -- cgit v1.2.1