4 CFLAGS := -Wall -DUSE_STACKSWAP -DNO_INLINE_STDARG -O2 -m68020
5 LDFLAGS := -noixemul -nostartfiles -s
6 LIBFILE := /ram/reqtools.library
7 CFILES := reqtoolsami_init req boopsigads general filereq filereqalloc \
8 filereqextra filereqmain filereqsetup \
10 mem misc boopsi rtfuncs
11 COBJS := $(foreach f, $(CFILES), $(f).o)
12 DEPS := $(foreach f, $(CFILES), $(f).d)
13 #EXTRALIB:= $(shell $(CC) --print-libgcc-file)
15 .PHONY : all depend clean library
22 rm -f *.o *.d $(LIBFILE)
25 $(LD) $(LDFLAGS) $^ $(EXTRALIB) -o $@
28 $(CC) $(CFLAGS) -c $< -o $@
31 $(CC) $(CFLAGS) -M $< -o $@
33 ifeq (,$(filter clean depend,$(TARGET)))