summaryrefslogtreecommitdiff
path: root/applications/clock/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-31 13:36:53 -0400
committerBenji Dial <benji@benjidial.net>2024-07-31 13:36:53 -0400
commitb1cf9e5dfbc8967bd7cb2a22ec1e5e521f4e0e6e (patch)
tree00837891f9b9bf232e540a6f9b3e16f2438865c3 /applications/clock/makefile
parent86b343f17175ef3e1fad2197636f75770466aa7c (diff)
downloadhilbert-os-b1cf9e5dfbc8967bd7cb2a22ec1e5e521f4e0e6e.tar.gz
add clock
Diffstat (limited to 'applications/clock/makefile')
-rw-r--r--applications/clock/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/clock/makefile b/applications/clock/makefile
new file mode 100644
index 0000000..949e6ce
--- /dev/null
+++ b/applications/clock/makefile
@@ -0,0 +1,12 @@
+SOURCES = \
+ main.cpp
+
+build/%.cpp.o: source/%.cpp
+ @mkdir -p $(@D)
+ $(HILBERT_CC) -c $^ -o $@
+
+build/clock.elf: $(SOURCES:%=build/%.o)
+ $(HILBERT_CC) $^ -ldaguerre -lpake -o $@
+
+clean:
+ rm -rf build