aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: d52785fd2d74e44092751d9a345cb9f03b4d7bd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SRC = tictactoe.tal

OBJ = $(SRC:.tal=.rom)

CLEANFILES = $(OBJ)

UXNASM = uxncli ~/roms/drifblim.rom

all: $(OBJ)

.tal.rom:
	$(UXNASM) $<

$(OBJ): $(SRC)

run: $(OBJ)
	uxnemu -s 3 $<

clean:
	rm -f $(CLEANFILES)

.PHONY: all run clean
.SUFFIXES: .tal .rom