GNUmakefile
483 Bytes
include $(ROOT)/usr/include/make/commondefs
include $(ROOT)/usr/include/make/PRdefs
TARGETS = testapp
CFILES = testapp.c sk.c
ASFILES = entry.s skapi.s
#LCOPTS += -mcpu=4300 -mips3 -g
OPTIMIZER=
LCOPTS += -mips3 -g
//LLDOPTS += -Ttext 0x80000000 -N
LLDOPTS += -Ttext 0xbfc00000 -N
LDIRT += cpu.log*
default : $(TARGETS) link
testapp : $(OBJECTS)
$(CCF) -o testapp entry.o testapp.o sk.o skapi.o $(LDFLAGS)
link:
ln -sf ../cpus/simbb/SIMOS-X86/simos .
include $(COMMONRULES)