Add definitions for tools so the makefile is useful by itself.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3262 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-10-26 19:28:26 +00:00
parent 44197d3708
commit 303304fe90
24 changed files with 298 additions and 5 deletions

View File

@@ -4,6 +4,18 @@
.SUFFIXES: .o .s .c
#--------------------------------------------------------------------------
# Programs and flags
SYS = none
AS = ../../src/ca65/ca65
CC = ../../src/cc65/cc65
LD = ../../src/ld65/ld65
AFLAGS = -t $(SYS) -I../../asminc
CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
#--------------------------------------------------------------------------
# Rules
@@ -37,7 +49,7 @@ S_OBJS = em-kernel.o \
all: $(C_OBJS) $(S_OBJS)
clean:
@$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
@$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
zap: clean