saturn-examples/Makefile
Zack Buhman ab809791cd reorganize math and libgcc
I'd like to include bits of libgcc piecemeal--I don't want to "accidentally"
start depending on libgcc bits that I'm not aware of.

Reworked division so that it uses the on-chip division register.
2023-01-25 16:07:46 -08:00

18 lines
295 B
Makefile

CFLAGS = -Isaturn -Imath
OPT = -O3
LIBGCC = $(shell $(CC) -print-file-name=libgcc.a)
all: raytracing.iso
LIB = ./saturn
include $(LIB)/common.mk
sh/lib1funcs.o: CFLAGS += -DL_ashiftrt
raytracing.elf: main-saturn.o raytracing.o sh/lib1funcs.o
# clean
clean: clean-sh
clean-sh:
rm -f sh/*.o