prepare libamiibo.a inclusion
This commit is contained in:
19
client/amiitool/Makefile
Normal file
19
client/amiitool/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
MYSRCPATHS =
|
||||
MYINCLUDES = -I. -I.. -I../jansson -I../../common/ -I../../include/
|
||||
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
|
||||
MYDEFS =
|
||||
MYSRCS = \
|
||||
amiibo.c \
|
||||
drbg.c \
|
||||
keygen.c
|
||||
|
||||
LIB_A = libamiibo.a
|
||||
|
||||
include ../../Makefile.host
|
||||
|
||||
# just for testing amiitool before complete migration into a lib:
|
||||
|
||||
amiitool:
|
||||
gcc $(CFLAGS) \
|
||||
amiitool.c $(MYSRCS) ../../common/commonutil.c ../ui.c -lreadline -lm ../../common/mbedtls/libmbedtls.a \
|
||||
-o amiitool
|
||||
Reference in New Issue
Block a user