Add rule to make zeropage.o in runtime dir if it is missing

git-svn-id: svn://svn.cc65.org/cc65/trunk@1387 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-08-11 12:39:10 +00:00
parent d99ec65e29
commit 12741467f8

View File

@@ -11,8 +11,8 @@
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
%.tgi: %.o
@$(LD) -t module -o $@ $< ../runtime/zeropage.o
%.tgi: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
OBJS = _scrsize.o \
break.o \
@@ -32,8 +32,15 @@ OBJS = _scrsize.o \
TGIS = c64-320-200-2.tgi
#--------------------------------------------------------------------------
# Targets
all: $(OBJS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
@rm -f $(OBJS) $(TGIS:.tgi=.o)