1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

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
This commit is contained in:
uz 2011-06-22 08:19:59 +00:00
parent eae262b7c3
commit ad1c31b049

View 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)