mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
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:
parent
d99ec65e29
commit
12741467f8
@ -11,8 +11,8 @@
|
|||||||
%.o: %.s
|
%.o: %.s
|
||||||
@$(AS) -g -o $@ $(AFLAGS) $<
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
||||||
|
|
||||||
%.tgi: %.o
|
%.tgi: %.o ../runtime/zeropage.o
|
||||||
@$(LD) -t module -o $@ $< ../runtime/zeropage.o
|
@$(LD) -t module -o $@ $^
|
||||||
|
|
||||||
OBJS = _scrsize.o \
|
OBJS = _scrsize.o \
|
||||||
break.o \
|
break.o \
|
||||||
@ -32,8 +32,15 @@ OBJS = _scrsize.o \
|
|||||||
TGIS = c64-320-200-2.tgi
|
TGIS = c64-320-200-2.tgi
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
# Targets
|
||||||
|
|
||||||
all: $(OBJS) $(TGIS)
|
all: $(OBJS) $(TGIS)
|
||||||
|
|
||||||
|
../runtime/zeropage.o:
|
||||||
|
$(MAKE) -C $(dir $@) $(notdir $@)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f $(OBJS) $(TGIS:.tgi=.o)
|
@rm -f $(OBJS) $(TGIS:.tgi=.o)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user