move raytracing to a new directory
This commit is contained in:
parent
47a73bc90f
commit
0d12a68986
18
Makefile
18
Makefile
@ -1,18 +1,22 @@
|
||||
CFLAGS = -Isaturn -Imath
|
||||
OPT = -O1
|
||||
|
||||
CFLAGS = -Isaturn
|
||||
OPT = -Os
|
||||
LIBGCC = $(shell $(CC) -print-file-name=libgcc.a)
|
||||
|
||||
all: raytracing.iso
|
||||
all: raytracing.iso vdp2.iso
|
||||
|
||||
LIB = ./saturn
|
||||
include $(LIB)/common.mk
|
||||
|
||||
sh/lib1funcs.o: CFLAGS += -DL_ashiftrt
|
||||
sh/lib1funcs.o: CFLAGS += -DL_ashiftrt -DL_movmem
|
||||
|
||||
raytracing.elf: main-saturn.o raytracing.o sh/lib1funcs.o
|
||||
raytracing/raytracing.elf: CFLAGS += -Imath -DUSE_SH2_DVSR
|
||||
raytracing/raytracing.elf: raytracing/main-saturn.o raytracing/raytracing.o sh/lib1funcs.o
|
||||
|
||||
# clean
|
||||
clean: clean-sh
|
||||
clean-sh:
|
||||
rm -f sh/*.o
|
||||
find -P \
|
||||
-not -path './saturn/*' \
|
||||
-regextype posix-egrep \
|
||||
-regex '.*\.(iso|o|bin|elf|cue)$$' \
|
||||
-exec rm {} \;
|
||||
|
Loading…
x
Reference in New Issue
Block a user