diff options
author | Juan J. Martinez <jjm@usebox.net> | 2020-12-30 19:07:31 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2020-12-30 19:23:41 +0000 |
commit | 2682bc5d1d864341aaeb42a449db73c3ecd16d70 (patch) | |
tree | 9116764364b4ee0ce7f6037305077807b57776de /src/mplayer/Makefile | |
download | ubox-msx-lib-2682bc5d1d864341aaeb42a449db73c3ecd16d70.tar.gz ubox-msx-lib-2682bc5d1d864341aaeb42a449db73c3ecd16d70.zip |
Initial import1.0
Diffstat (limited to 'src/mplayer/Makefile')
-rw-r--r-- | src/mplayer/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mplayer/Makefile b/src/mplayer/Makefile new file mode 100644 index 0000000..81e099b --- /dev/null +++ b/src/mplayer/Makefile @@ -0,0 +1,19 @@ +LIB=../../lib/mplayer.lib +all: $(LIB) + +AS=sdasz80 +AR=sdar + +SOURCES=$(wildcard *.z80) +OBJS=$(patsubst %.z80,%.rel,$(SOURCES)) + +$(LIB): $(OBJS) + $(AR) -rcD $(LIB) $(OBJS) + +%.rel: %.z80 + $(AS) -o $< + +.PHONY: clean +clean: + rm -f $(OBJS) $(LIB) + |