2019-09-03 06:18:29 +08:00
|
|
|
MYSRCPATHS =
|
2021-02-19 20:41:28 +08:00
|
|
|
MYINCLUDES = -I. -I.. -I../../../common -I../../../common/mbedtls -I../../../include -I../../src -I../../../include -I../jansson
|
2020-04-20 04:55:28 +08:00
|
|
|
MYCFLAGS =
|
2019-09-03 06:18:29 +08:00
|
|
|
MYDEFS =
|
|
|
|
MYSRCS = \
|
|
|
|
amiibo.c \
|
|
|
|
drbg.c \
|
|
|
|
keygen.c
|
|
|
|
|
|
|
|
LIB_A = libamiibo.a
|
|
|
|
|
2020-04-21 07:44:31 +08:00
|
|
|
# Transition: remove old directories and objects
|
|
|
|
MYCLEANOLDPATH = ../../amiitool
|
|
|
|
|
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
|