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) -o $@ $(AFLAGS) $(*).s
@@ -11,9 +14,10 @@
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
C_OBJS =
#--------------------------------------------------------------------------
# Object files
S_OBJS= _scrsize.o \
OBJS= _scrsize.o \
break.o \
cclear.o \
cgetc.o \
@@ -32,9 +36,15 @@ S_OBJS= _scrsize.o \
where.o \
write.o
all: $(C_OBJS) $(S_OBJS)
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(OBJS)
clean:
@rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS)
@rm -f $(OBJS)
zap: clean