New cscanf routines by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3378 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# -*- makefile -*-
|
||||
#
|
||||
# makefile for CC65 runtime library
|
||||
# makefile for CC65's console library
|
||||
#
|
||||
|
||||
.SUFFIXES: .o .s .c
|
||||
@@ -26,6 +27,15 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
|
||||
%.o: %.s
|
||||
@$(AS) -g -o $@ $(AFLAGS) $<
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Rules to help us see what code the compiler and assembler make.
|
||||
|
||||
#%.s : %.c
|
||||
# @$(CC) $(CFLAGS) -S $<
|
||||
|
||||
%.lst : %.s
|
||||
@$(AS) $(AFLAGS) -l -o /dev/null $<
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Object files
|
||||
|
||||
@@ -33,9 +43,11 @@ OBJS = _cursor.o \
|
||||
cprintf.o \
|
||||
cputhex.o \
|
||||
cputs.o \
|
||||
cscanf.o \
|
||||
cursor.o \
|
||||
scrsize.o \
|
||||
vcprintf.o
|
||||
vcprintf.o \
|
||||
vcscanf.o
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Targets
|
||||
@@ -45,7 +57,7 @@ OBJS = _cursor.o \
|
||||
all: $(OBJS)
|
||||
|
||||
clean:
|
||||
@$(RM) *~ $(OBJS)
|
||||
@$(RM) *~ *.lst $(OBJS)
|
||||
|
||||
zap: clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user