aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-03-15 21:23:56 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-03-15 21:23:56 +0000
commit58c226dc7648fe411cc82a9558f456b8b98a7eec (patch)
tree0c4780acbd457d1487440b1d8eea42fdf33ac772 /Makefile
parent0822c46070f35fcd1926a0af3e7ac2d1e538f95f (diff)
more fixes
svn path=/trunk/externals/iem/snmp/; revision=7494
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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