2020-04-16 16:57:53 +08:00
|
|
|
# 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
|
|
|
|
|
|
|
|
set_property(SOURCE PROPERTY C_STANDARD 99)
|
|
|
|
|
2020-04-18 20:19:43 +08:00
|
|
|
add_library(amiibo STATIC
|
2020-04-18 17:39:15 +08:00
|
|
|
amiitool/amiibo.c
|
|
|
|
amiitool/drbg.c
|
|
|
|
amiitool/keygen.c
|
2020-04-16 16:57:53 +08:00
|
|
|
)
|
2020-04-18 17:39:15 +08:00
|
|
|
|
|
|
|
target_include_directories(amiibo PRIVATE ../../include ../../common)
|
2020-04-18 21:09:35 +08:00
|
|
|
target_include_directories(amiibo INTERFACE amiitool)
|