2019-09-03 06:18:29 +08:00
|
|
|
MYSRCPATHS =
|
2020-04-16 16:25:29 +08:00
|
|
|
MYINCLUDES = -I. -I.. -I../jansson -I../../../common -I../../../include
|
2019-09-03 06:18:29 +08:00
|
|
|
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
|
|
|
MYDEFS =
|
|
|
|
MYSRCS = \
|
|
|
|
amiibo.c \
|
|
|
|
drbg.c \
|
|
|
|
keygen.c
|
|
|
|
|
|
|
|
LIB_A = libamiibo.a
|
|
|
|
|
2020-04-16 16:25:29 +08:00
|
|
|
include ../../../Makefile.host
|
2019-09-03 06:18:29 +08:00
|
|
|
|
|
|
|
# just for testing amiitool before complete migration into a lib:
|
|
|
|
|
|
|
|
amiitool:
|
|
|
|
gcc $(CFLAGS) \
|
2020-04-16 16:25:29 +08:00
|
|
|
amiitool.c $(MYSRCS) ../../../common/commonutil.c ../ui.c -lreadline -lm ../../../common/mbedtls/libmbedtls.a \
|
2019-09-03 06:18:29 +08:00
|
|
|
-o amiitool
|