From: uz Date: Wed, 22 Jun 2011 08:19:59 +0000 (+0000) Subject: Fixed order of rules, so not only the tgi driver gets built. X-Git-Tag: V2.13.3~393 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ad1c31b049fcea6fdefdd61786cac9b0f5345a20;p=cc65 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 --- 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)