2019-08-17 19:07:27 +08:00
|
|
|
MYSRCPATHS = ../../common ../../common/crapto1
|
|
|
|
MYSRCS = crypto1.c crapto1.c bucketsort.c
|
|
|
|
MYINCLUDES = -I../../include -I../../common
|
2020-04-20 04:55:28 +08:00
|
|
|
MYCFLAGS =
|
2019-08-17 19:07:27 +08:00
|
|
|
MYDEFS =
|
2019-06-02 06:25:25 +08:00
|
|
|
|
2019-08-17 19:07:27 +08:00
|
|
|
BINS = nonce2key
|
2019-08-31 03:55:13 +08:00
|
|
|
INSTALLTOOLS = $(BINS)
|
2009-12-30 08:12:17 +08:00
|
|
|
|
2019-08-17 19:07:27 +08:00
|
|
|
include ../../Makefile.host
|
2009-12-30 08:12:17 +08:00
|
|
|
|
2020-04-27 04:30:41 +08:00
|
|
|
# checking platform can be done only after Makefile.host
|
|
|
|
ifneq (,$(findstring MINGW,$(platform)))
|
|
|
|
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
|
|
|
|
# and setting _ISOC99_SOURCE sets internally __USE_MINGW_ANSI_STDIO=1
|
|
|
|
CFLAGS += -D_ISOC99_SOURCE
|
|
|
|
endif
|
|
|
|
|
2019-08-17 19:07:27 +08:00
|
|
|
nonce2key : $(OBJDIR)/nonce2key.o $(MYOBJS)
|