summaryrefslogtreecommitdiff
path: root/applications/hello/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'applications/hello/makefile')
-rw-r--r--applications/hello/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/hello/makefile b/applications/hello/makefile
new file mode 100644
index 0000000..5e12644
--- /dev/null
+++ b/applications/hello/makefile
@@ -0,0 +1,12 @@
+SOURCES = \
+ main.cpp
+
+build/%.cpp.o: source/%.cpp
+ @mkdir -p $(@D)
+ $(HILBERT_CC) -c $^ -o $@
+
+build/hello.elf: $(SOURCES:%=build/%.o)
+ $(HILBERT_CC) $^ -ldaguerre -o $@
+
+clean:
+ rm -rf build