diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-11-05 11:22:55 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-11-05 11:31:28 +0000 |
commit | 2fbdf974338bde8576efdae40a819a76b2391033 (patch) | |
tree | 64d41a37470143f142344f9a439d96de3e7918c2 /lib/cpcrslib/Makefile | |
download | kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.tar.gz kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.zip |
Initial import of the open source release
Diffstat (limited to 'lib/cpcrslib/Makefile')
-rw-r--r-- | lib/cpcrslib/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/cpcrslib/Makefile b/lib/cpcrslib/Makefile new file mode 100644 index 0000000..c440a28 --- /dev/null +++ b/lib/cpcrslib/Makefile @@ -0,0 +1,19 @@ +all: cpcrslib.lib + +AS=sdasz80 +AR=sdar + +cpcrslib_SRCS=$(wildcard cpc_*.s) +cpcrslib_OBJS=$(patsubst %.s,%.rel,$(cpcrslib_SRCS)) + +cpcrslib.lib: $(cpcrslib_OBJS) + $(AR) -rcD cpcrslib.lib $(cpcrslib_OBJS) + cp cpcrslib.lib .. + +%.rel: %.s + $(AS) -o $< + +.PHONY: clean +clean: + rm -f *.rel *.lib + |