New target c16
git-svn-id: svn://svn.cc65.org/cc65/trunk@1563 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
31
libsrc/c16/Makefile
Normal file
31
libsrc/c16/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# makefile for CC65 runtime library (C16)
|
||||
#
|
||||
|
||||
.SUFFIXES: .o .s .c
|
||||
|
||||
%.o: %.c
|
||||
@$(CC) $(CFLAGS) $<
|
||||
@$(AS) -o $@ $(AFLAGS) $(*).s
|
||||
|
||||
%.o: %.s
|
||||
@$(AS) -g -o $@ $(AFLAGS) $<
|
||||
|
||||
OBJS = _scrsize.o \
|
||||
break.o \
|
||||
cgetc.o \
|
||||
clrscr.o \
|
||||
color.o \
|
||||
conio.o \
|
||||
cputc.o \
|
||||
crt0.o \
|
||||
kbhit.o \
|
||||
kernal.o \
|
||||
randomize.o \
|
||||
readjoy.o
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
clean:
|
||||
@rm -f $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user