]> git.sur5r.net Git - cc65/commitdiff
Fixed order of rules, so not only the tgi driver gets built.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 22 Jun 2011 08:19:59 +0000 (08:19 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 22 Jun 2011 08:19:59 +0000 (08:19 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5068 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/nes/Makefile

index 4af6cc22790b63db44cf7137e169d8e40fa81c9b..0c2153c92f6dd0aff81c8b4fd29b39f6040c535a 100644 (file)
@@ -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)