aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-05 00:46:06 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-05 00:53:42 -0400
commitdfb28ef05e9d3f10dbf9dbb8a0b4ba8054ae9896 (patch)
tree13e7feab9855f4b4eedc6146bf1999392b08556a /Makefile
parent60bb41527f3a23119ba2c66bce2a80e9064187fe (diff)
downloadnes-snake-dfb28ef05e9d3f10dbf9dbb8a0b4ba8054ae9896.tar.gz
nes-snake-dfb28ef05e9d3f10dbf9dbb8a0b4ba8054ae9896.zip
rebuild the rom when the CHR data changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 316e9fb..d0070a9 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ $(NAME).nes: $(NAME).rom header.bin
$(NAME).rom: $(OBJS) linkfile
@$(LD) $(LDFLAGS) linkfile $@
+snake.o: snake.chr
+
%.o: %.s
@$(CC) $(CFLAGS) -o $<