now ZINT_VERSION it's set by the build system

This commit is contained in:
taipanromania
2008-09-18 14:39:25 +00:00
parent a88fcaa923
commit df102f0928
2 changed files with 14 additions and 9 deletions

View File

@ -6,6 +6,8 @@
# make clean cleans up a previous compilation and any object or editor files
#
ZINT_VERSION:=-DZINT_VERSION=\"1.80.0\"
CC := gcc
INCLUDE := -I/usr/local/include
CFLAGS := -g
@ -15,7 +17,7 @@ bindir := $(prefix)/bin
DESTDIR :=
zint: main.c
$(CC) $(INCLUDE) $(CFLAGS) -I../backend -L../backend main.c -o zint -lzint
$(CC) $(INCLUDE) $(CFLAGS) $(ZINT_VERSION) -I../backend -L../backend main.c -o zint_frontend -lzint
.PHONY: install uninstall clean dist