2000-05-28 13:40:48 +00:00
|
|
|
#
|
|
|
|
# Makefile for GEOS lib
|
|
|
|
# for cc65
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
%.o: %.s
|
|
|
|
@$(AS) -o $@ $(AFLAGS) $<
|
|
|
|
|
2002-11-22 19:31:44 +00:00
|
|
|
%.o: %.c
|
|
|
|
@$(CC) $(CFLAGS) $<
|
|
|
|
@$(AS) -g -o $@ $(AFLAGS) $(*).s
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-11-12 22:49:38 +00:00
|
|
|
S_OBJS = ctype.o \
|
|
|
|
callroutine.o \
|
|
|
|
enterdesktop.o \
|
|
|
|
firstinit.o \
|
|
|
|
get_ostype.o \
|
|
|
|
getrandom.o \
|
|
|
|
getserialnumber.o \
|
|
|
|
initdoneio.o \
|
|
|
|
mainloop.o \
|
|
|
|
panic.o \
|
|
|
|
tobasic.o \
|
2002-11-22 19:31:44 +00:00
|
|
|
setdevice.o
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-11-22 19:31:44 +00:00
|
|
|
C_OBJS = systime.o
|
|
|
|
|
|
|
|
all: $(C_OBJS) $(S_OBJS)
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
clean:
|
2002-11-22 19:31:44 +00:00
|
|
|
@rm -f *.~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) core
|