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,12 +4,18 @@
.SUFFIXES: .o .s .c
#--------------------------------------------------------------------------
# Rules
.c.s:
@$(CC) $(CFLAGS) $<
.s.o:
@$(AS) -g -o $@ $(AFLAGS) $<
#--------------------------------------------------------------------------
# Object files
OBJS = add.o \
addeqsp.o \
addysp.o \
@@ -199,9 +205,15 @@ OBJS = add.o \
xor.o \
zeropage.o
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(OBJS)
clean:
@rm -f *~ $(COBJS:.o=.s) $(OBJS)
zap: clean