mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
826a9545e4
git-svn-id: svn://svn.cc65.org/cc65/trunk@396 b7a2c559-68d2-44c3-8de9-860c34a00d81
29 lines
367 B
Makefile
29 lines
367 B
Makefile
#
|
|
# makefile for CC65 runtime library
|
|
#
|
|
|
|
.SUFFIXES: .o .s .c
|
|
|
|
%.o: %.c
|
|
@echo $<
|
|
@$(CC) $(CFLAGS) $<
|
|
@$(AS) -o $@ $(AFLAGS) $(*).s
|
|
|
|
%.o: %.s
|
|
@echo $<
|
|
@$(AS) -g -o $@ $(AFLAGS) $<
|
|
|
|
C_OBJS =
|
|
|
|
S_OBJS = _cursor.o \
|
|
_scrsize.o \
|
|
cputhex.o \
|
|
cputs.o \
|
|
cursor.o \
|
|
scrsize.o
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
|
|
|
clean:
|
|
@rm -f *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
|