aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-11-05 11:22:55 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-11-05 11:31:28 +0000
commit2fbdf974338bde8576efdae40a819a76b2391033 (patch)
tree64d41a37470143f142344f9a439d96de3e7918c2 /lib/Makefile
downloadkitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.tar.gz
kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.zip
Initial import of the open source release
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
new file mode 100644
index 0000000..a8bf391
--- /dev/null
+++ b/lib/Makefile
@@ -0,0 +1,21 @@
+all: aplib.lib cpcrslib.lib plw.lib
+
+AS=sdasz80
+AR=sdar
+
+aplib.lib: aplib.z80
+ $(AS) -o $<
+ $(AR) -rcD $@ aplib.rel
+
+cpcrslib.lib: $(wildcard cpcrslib/*.s)
+ make -C cpcrslib
+
+plw.lib: $(wildcard plw/*.z80)
+ make -C plw
+
+.PHONY: clean
+clean:
+ rm -f *.rel *.lib
+ make -C cpcrslib clean
+ make -C plw clean
+