Source
--- tests/DES56/Makefile.orig 2007-11-28 13:38:32.000000000 -0600
+++ tests/DES56/Makefile 2012-02-13 10:33:34.000000000 -0600
-CFLAGS= -O6 -DUSG=0 -DBSD=0
+CFLAGS+= -O6 -DUSG=0 -DBSD=0
FILES= Makefile des56.h des56.c fdemo.c ftest.c
./fdemo -demo -c 1000
fdemo: fdemo.o des56.o
- ${CC} -o $@ $@.o des56.o
+ ${CC} ${LDFLAGS} -o $@ $@.o des56.o
# test -- evaluates DES, compares with UNIX crypt
./ftest 1.21280ac -c 5000000 -k 1000000 -C 100000 -K 100000
ftest: ftest.o des56.o
- ${CC} -o $@ $@.o des56.o -lcrypt
+ ${CC} ${LDFLAGS} -o $@ $@.o des56.o -lcrypt
dist:
@tar cvf - ${FILES}