New loadable mouse drivers

git-svn-id: svn://svn.cc65.org/cc65/trunk@2851 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-12-28 21:25:15 +00:00
parent 7e43e5e0e1
commit 30d99a4d56
4 changed files with 220 additions and 0 deletions

36
libsrc/mouse/Makefile Normal file
View File

@@ -0,0 +1,36 @@
#
# Makefile for the mouse driver library
#
.SUFFIXES: .o .s .c
#--------------------------------------------------------------------------
# Rules
%.o: %.c
@$(CC) $(CFLAGS) $<
@$(AS) -g -o $@ $(AFLAGS) $(*).s
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
#--------------------------------------------------------------------------
# Object files
C_OBJS = mouse_load.o
S_OBJS = mouse-kernel.o
#--------------------------------------------------------------------------
# Targets
.PHONY: all clean zap
all: $(C_OBJS) $(S_OBJS)
clean:
@$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
zap: clean