mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Prepared infrastructure for a shared loadable generic mouse driver based the GEOS API.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5496 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
baa6c53dec
commit
75dc65c217
@ -57,7 +57,7 @@ EMDS = geos-vdc.emd
|
||||
|
||||
JOYS = geos-stdjoy.joy
|
||||
|
||||
MOUS = #geos-stdmou.mou
|
||||
MOUS =
|
||||
|
||||
SERS =
|
||||
|
||||
|
@ -5,9 +5,6 @@
|
||||
#--------------------------------------------------------------------------
|
||||
# Object files
|
||||
|
||||
S_OBJS += fio_module.o \
|
||||
joy_stddrv.o \
|
||||
mcbdefault.o \
|
||||
mouse_stddrv.o \
|
||||
S_OBJS += joy_stddrv.o \
|
||||
tgi_colors.o \
|
||||
tgi_stddrv.o
|
||||
|
@ -26,6 +26,21 @@ CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
|
||||
%.o: %.s
|
||||
@$(AS) -g -o $@ $(AFLAGS) $<
|
||||
|
||||
%.emd: %.o ../runtime/zeropage.o
|
||||
@$(LD) -o $@ -t module $^
|
||||
|
||||
%.joy: %.o ../runtime/zeropage.o
|
||||
@$(LD) -o $@ -t module $^
|
||||
|
||||
%.mou: %.o ../runtime/zeropage.o
|
||||
@$(LD) -o $@ -t module $^
|
||||
|
||||
%.ser: %.o ../runtime/zeropage.o
|
||||
@$(LD) -o $@ -t module $^
|
||||
|
||||
%.tgi: %.o ../runtime/zeropage.o
|
||||
@$(LD) -o $@ -t module $^
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Directories
|
||||
|
||||
@ -42,6 +57,19 @@ DIRS = common \
|
||||
runtime \
|
||||
system
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Drivers
|
||||
|
||||
EMDS =
|
||||
|
||||
JOYS =
|
||||
|
||||
MOUS = #geos-stdmou.mou
|
||||
|
||||
SERS =
|
||||
|
||||
TGIS =
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Directives
|
||||
|
||||
@ -54,9 +82,13 @@ vpath %.s $(DIRS)
|
||||
|
||||
.PHONY: all clean zap
|
||||
|
||||
all: $(C_OBJS) $(S_OBJS)
|
||||
all: $(C_OBJS) $(S_OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
|
||||
|
||||
../runtime/zeropage.o:
|
||||
$(MAKE) -C $(dir $@) $(notdir $@)
|
||||
|
||||
clean:
|
||||
@$(RM) $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)
|
||||
@$(RM) $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(MOUS:.mou=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
|
||||
|
||||
zap: clean
|
||||
@$(RM) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
|
||||
|
10
libsrc/geos-common/drivers/Makefile
Normal file
10
libsrc/geos-common/drivers/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# makefile for CC65 runtime library
|
||||
#
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Object files
|
||||
|
||||
S_OBJS += fio_module.o \
|
||||
mcbdefault.o \
|
||||
mouse_stddrv.o
|
@ -17,5 +17,4 @@ S_OBJS += startmousemode.o \
|
||||
inittextprompt.o \
|
||||
promptoff.o \
|
||||
prompton.o \
|
||||
getnextchar.o \
|
||||
mouse.o
|
||||
getnextchar.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user