Make sure the zap target is available

git-svn-id: svn://svn.cc65.org/cc65/trunk@1932 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-02-06 15:35:30 +00:00
parent a5eefc2734
commit a8810a464d
20 changed files with 191 additions and 8 deletions

View File

@@ -4,6 +4,9 @@
.SUFFIXES: .o .s .c
#--------------------------------------------------------------------------
# Rules
%.o: %.c
@$(CC) $(CFLAGS) $<
@$(AS) -g -o $@ $(AFLAGS) $(*).s
@@ -11,6 +14,9 @@
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
#--------------------------------------------------------------------------
# Object files
C_OBJS = _afailed.o \
_hextab.o \
_scanf.o \
@@ -132,6 +138,11 @@ S_OBJS = _fdesc.o \
zerobss.o
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(C_OBJS) $(S_OBJS)
clean:
@@ -140,3 +151,5 @@ clean:
@rm -f $(C_OBJS)
@rm -f $(S_OBJS)
zap: clean