aboutsummaryrefslogtreecommitdiff
path: root/GEOLOC/app/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'GEOLOC/app/Makefile')
-rw-r--r--GEOLOC/app/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/GEOLOC/app/Makefile b/GEOLOC/app/Makefile
new file mode 100644
index 0000000..4f23251
--- /dev/null
+++ b/GEOLOC/app/Makefile
@@ -0,0 +1,18 @@
+
+all: app.o
+
+app.o:
+ifeq ($(TARGET),ANCHOR)
+ $(MAKE) -C ./anchor
+ cp anchor/app.o ./
+else
+ $(CC) -c ./mobile/app.c -o ./app.o
+endif
+ $(CC) -c frame.c -o frame.o
+ ld -r app.o frame.o -o app_tmp.o
+ mv app_tmp.o $@
+
+.PHONY: clean
+
+clean:
+ -rm ./app.o ./frame.o