aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShenghao Ding2021-01-06 22:47:47 -0600
committerShenghao Ding2021-01-06 22:47:47 -0600
commitd27a0335d4e6a4cb38146c0b02007b1b6d5eaf40 (patch)
tree7f189fabc3cf9e6aec548284697b18d809468d5f
parent1aa087a1ec5c9509cf5be12b3e7ef85a1eafdba5 (diff)
downloadtas2563-ftc-d27a0335d4e6a4cb38146c0b02007b1b6d5eaf40.tar.gz
tas2563-ftc-d27a0335d4e6a4cb38146c0b02007b1b6d5eaf40.tar.xz
tas2563-ftc-d27a0335d4e6a4cb38146c0b02007b1b6d5eaf40.zip
Uploaded files
-rw-r--r--makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..1fa0b4c
--- /dev/null
+++ b/makefile
@@ -0,0 +1,9 @@
1CROSS_PATH = /home/ju/ti-processor-sdk-linux-am335x-evm-05.00.00.15/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
2fct: tas2563.c tas2563_chk.c tas2563_ftc.c tas2563.c system.c factorytest.c
3 make -C ./lib
4 $(CROSS_PATH)gcc -shared -fPIC -static -c tas2563.c -lm
5 $(CROSS_PATH)gcc -shared -fPIC -static -c tas2563_chk.c -lm
6 $(CROSS_PATH)gcc -shared -fPIC -static -c tas2563_ftc.c -lm ${CFLAGS}
7 $(CROSS_PATH)gcc -shared -fPIC -static -c system.c -lm
8 $(CROSS_PATH)gcc -shared -fPIC -static -c factorytest.c -lm
9 $(CROSS_PATH)gcc -fPIC -o factorytest factorytest.o system.o tas2563_ftc.o tas2563_chk.o tas2563.o -L./lib -lftc32 -lm ${CFLAGS} \ No newline at end of file