aboutsummaryrefslogtreecommitdiff
path: root/src/source.mk
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-06-27 13:00:19 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-06-27 13:00:19 +0300
commit6aefc5167a64e05580dcf1afc70efa496ed145ac (patch)
tree57032839fd8f5f748b273c679f3766c6911bbca5 /src/source.mk
parente80d3758a37848cda7990e8eff68ed9df344afa4 (diff)
downloadcopyjit-6aefc5167a64e05580dcf1afc70efa496ed145ac.tar.gz
copyjit-6aefc5167a64e05580dcf1afc70efa496ed145ac.zip
add immediate loading
Diffstat (limited to 'src/source.mk')
-rw-r--r--src/source.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/source.mk b/src/source.mk
index de98d32..618d385 100644
--- a/src/source.mk
+++ b/src/source.mk
@@ -1,2 +1,8 @@
SRC_LOCAL != echo src/*.c
SOURCES += $(SRC_LOCAL)
+
+# a bit ugly maybe, but I'm not aware of a better way to tell make
+# "hey, these files have to generate some stuff for us"
+src/main.c: src/copyjit.h
+src/copyjit.c: src/copyjit.h
+src/copyjit.h: lib/op_decls.h lib/imm_decls.h