diff --git a/Makefile b/Makefile index ed72af2..5fd9540 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,24 @@ CC=gcc -CFLAGS= -Wall -std=gnu99 -O6 -m32 -march=pentium3 -fomit-frame-pointer -funroll-loops \ +# -funroll-loops +CFLAGS= -Wall -std=gnu99 -O6 -m32 -march=pentium3 -fomit-frame-pointer \ -fexpensive-optimizations -ffast-math -fno-strict-aliasing \ -I. -I./glide/headers -I/usr/include/glide \ -DCVG LFLAGS=-L./glide/lib -lglide -OBJ=main.o \ - FaultSources.o \ - Utils.o \ - Draw.o \ - Test_Address.o \ - Test_Data.o \ - Test_Data_Huge.o +OBJ=OBJs/main.o \ + OBJs/FaultSources.o \ + OBJs/Utils.o \ + OBJs/Draw.o \ + OBJs/Test_Address.o \ + OBJs/Test_Data.o \ + OBJs/Test_Data_Huge.o HEADERS := $(notdir $(wildcard *.h)) -%.o: %.c $(HEADERS) +OBJs/%.o: %.c $(HEADERS) $(CC) -c -o $@ $< $(CFLAGS) v2-tmu-memtester : $(OBJ) diff --git a/OBJs/.gitkeep b/OBJs/.gitkeep new file mode 100644 index 0000000..e69de29