Joystick library, first version

git-svn-id: svn://svn.cc65.org/cc65/trunk@1796 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-12-20 20:59:11 +00:00
parent bb0d6a6e39
commit 4157bba161
7 changed files with 271 additions and 0 deletions

30
libsrc/joystick/Makefile Normal file
View File

@@ -0,0 +1,30 @@
#
# Makefile for the joystick library
#
.SUFFIXES: .o .s .c
%.o: %.c
@$(CC) $(CFLAGS) $<
@$(AS) -g -o $@ $(AFLAGS) $(*).s
%.o: %.s
@$(AS) -g -o $@ $(AFLAGS) $<
C_OBJS = joy_load.o
S_OBJS = joy-kernel.o \
joy_read.o \
joy_count.o \
joy_unload.o
all: $(C_OBJS) $(S_OBJS)
clean:
@rm -f *~
@rm -f $(C_OBJS:.o=.s)
@rm -f $(C_OBJS)
@rm -f $(S_OBJS)