- Added automatic WINDOWS define in Makefile

This commit is contained in:
Paul Bakker 2012-05-10 20:49:10 +00:00
parent 4d2c1243b1
commit cd5b529d6d
3 changed files with 11 additions and 1 deletions
programs

View file

@ -11,6 +11,10 @@ ifdef DEBUG
CFLAGS += -g3
endif
ifdef WINDOWS
LDFLAGS += -lws2_32
endif
APPS = aes/aescrypt2 aes/crypt_and_hash \
hash/hello hash/generic_sum \
hash/md5sum hash/sha1sum \