diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 21:23:56 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-03-15 21:23:56 +0000 |
commit | 58c226dc7648fe411cc82a9558f456b8b98a7eec (patch) | |
tree | 0c4780acbd457d1487440b1d8eea42fdf33ac772 /Makefile | |
parent | 0822c46070f35fcd1926a0af3e7ac2d1e538f95f (diff) |
more fixes
svn path=/trunk/externals/iem/snmp/; revision=7494
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |