.PHONY: all clean realclean distclean dist install
PACKAGE:=secnet
-VERSION:=0.4.0
+VERSION:=0.4.1
@SET_MAKE@
conffile.tab.c: conffile.y
# End of manual dependencies section
+conffile.yy.o: ALL_CFLAGS += -Wno-sign-compare
+
secnet: $(OBJECTS)
$(MAKE) version.o # *.o $(filter-out %.o, $^)
$(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $(OBJECTS) version.o $(LDLIBS)
version.c: Makefile
echo "#include \"secnet.h\"" >$@.new
- @set -ex; if test -e .git; then \
+ @set -ex; if test -e .git && type -p git >/dev/null; then \
v=$$(git describe --match 'v*'); v=$${v#v}; \
if ! git diff --quiet HEAD; then v="$$v+"; fi; \
else \