diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-05-03 08:21:10 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2021-05-03 10:00:00 +0100 |
commit | c3b0fa04a663fe233765b83d3be41a42aa08c25d (patch) | |
tree | 0befda349001ef6ce306b39378f9c70ad917363e /lib/Makefile | |
download | return-of-traxtor-cpc-main.tar.gz return-of-traxtor-cpc-main.zip |
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 20 |
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 + |