diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -1,21 +1,28 @@ SRC = tictactoe.tal -OBJ = $(SRC:.tal=.rom) +PROG = $(SRC:.tal=.rom) -CLEANFILES = $(OBJ) +CLEANFILES = $(PROG) -UXNASM = uxncli ~/roms/drifblim.rom +UXNASM = uxncli ~/roms/asma.rom +# UXNASM = uxncli ~/roms/drifblim.rom # UXNASM = uxnasm -all: $(OBJ) +UXNEMU = uxnemu +# UXNEMU = uxn11 + +all: $(PROG) .tal.rom: $(UXNASM) $< $@ -$(OBJ): $(SRC) +$(PROG): $(SRC) + +run: $(PROG) + $(UXNEMU) $< -run: $(OBJ) - uxnemu -s 3 $< +lint: $(SRC) + uxncli ~/roms/uxnlin.rom $< clean: rm -f $(CLEANFILES) |
