aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-05-03 08:21:10 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-05-03 10:00:00 +0100
commitc3b0fa04a663fe233765b83d3be41a42aa08c25d (patch)
tree0befda349001ef6ce306b39378f9c70ad917363e /lib/Makefile
downloadreturn-of-traxtor-cpc-main.tar.gz
return-of-traxtor-cpc-main.zip
Initial import for public releaseHEADmain
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
new file mode 100644
index 0000000..a0c7d41
--- /dev/null
+++ b/lib/Makefile
@@ -0,0 +1,20 @@
+all: ucl.lib cpcrslib.lib
+
+AS=sdasz80
+AR=sdcclib
+
+ucl.lib: ucl.s
+ $(AS) -o $<
+ $(AR) -a $@ ucl.rel
+
+cpcrslib.lib: $(wildcard cpcrslib/*.s)
+ make -C cpcrslib
+
+cpcwyzlib.lib: $(wildcard cpcrslib/*.s)
+ make -C cpcwyzlib
+
+.PHONY: clean
+clean:
+ rm -f *.rel *.lib
+ make -C cpcrslib clean
+