this patch removes all the hardcoded values from the gznbd makefile and replaces it with flexible variables -mike
Attachment:
pgp2hTXhib3NM.pgp
Description: PGP signature
Index: gznbd/Makefile =================================================================== --- gznbd/Makefile (revision 227) +++ gznbd/Makefile (working copy) @@ -1,2 +1,7 @@ -gznbd: gznbd.c - gcc -s -Wall -O2 -DTRACE gznbd.c -o gznbd -lz +CC ?= gcc +CFLAGS ?= -s -O2 +CFLAGS += -Wall +CPPFLAGS += -DTRACE +LDLIBS += -lz + +all: gznbd