1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-20 02:17:07 +00:00

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
+13 -1
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 = em_load.o
S_OBJS = em-kernel.o \
@@ -20,9 +26,14 @@ S_OBJS = em-kernel.o \
em_map.o \
em_pagecount.o \
em_unload.o \
em_use.o
em_use.o
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(C_OBJS) $(S_OBJS)
clean:
@@ -31,4 +42,5 @@ clean:
@rm -f $(C_OBJS)
@rm -f $(S_OBJS)
zap: clean