aboutsummaryrefslogtreecommitdiff
path: root/src/mplayer/Makefile
blob: 81e099bc5ce7a93405c37863b2eedc0a1f5996d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)