From ad1c31b049fcea6fdefdd61786cac9b0f5345a20 Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 22 Jun 2011 08:19:59 +0000 Subject: [PATCH] Fixed order of rules, so not only the tgi driver gets built. git-svn-id: svn://svn.cc65.org/cc65/trunk@5068 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/nes/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libsrc/nes/Makefile b/libsrc/nes/Makefile index 4af6cc227..0c2153c92 100644 --- a/libsrc/nes/Makefile +++ b/libsrc/nes/Makefile @@ -41,18 +41,6 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include %.tgi: %.o ../runtime/zeropage.o @$(LD) -o $@ -t module $^ -nes-64-56-2.tgi: nes-64-56-2.o \ - ../runtime/popa.o \ - ../runtime/zeropage.o \ - clrscr.o \ - cputc.o \ - get_tv.o \ - gotoxy.o \ - ppu.o \ - ppubuf.o \ - setcursor.o - @$(LD) -o $@ -t module $^ - #-------------------------------------------------------------------------- # Object files @@ -107,6 +95,18 @@ all: $(OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS) ../runtime/zeropage.o: $(MAKE) -C $(dir $@) $(notdir $@) +nes-64-56-2.tgi: nes-64-56-2.o \ + ../runtime/popa.o \ + ../runtime/zeropage.o \ + clrscr.o \ + cputc.o \ + get_tv.o \ + gotoxy.o \ + ppu.o \ + ppubuf.o \ + setcursor.o + @$(LD) -o $@ -t module $^ + clean: @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(MOUS:.mou=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o) -- 2.39.5