diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | config.mk | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -3,6 +3,7 @@ CONFIGFILE = config.mk include $(CONFIGFILE) + all: krandom krandom: krandom.o @@ -22,6 +23,6 @@ uninstall: -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/krandom.1" clean: - -rm -r -- krandom *.o + -rm -f -- krandom *.o *.su .PHONY: all install uninstall clean @@ -1,10 +1,12 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +CC = cc + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 CFLAGS = -std=c99 -Wall -O3 LDFLAGS = -s -lkeccak # krandom is seeded by /dev/urandom (Linux's non-blocking random number generator), -# this can be changed by addeding -DURANDOM=??? to CPPFLAGS, where ??? is the file +# this can be changed by adding -DURANDOM=??? to CPPFLAGS, where ??? is the file # to use instead of /dev/urandom. |