build in dedicated folder

This commit is contained in:
2026-03-09 01:10:26 +01:00
parent ace00297ef
commit c54b332e8d
2 changed files with 10 additions and 9 deletions

View File

@@ -1,23 +1,24 @@
CC=gcc 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 \ -fexpensive-optimizations -ffast-math -fno-strict-aliasing \
-I. -I./glide/headers -I/usr/include/glide \ -I. -I./glide/headers -I/usr/include/glide \
-DCVG -DCVG
LFLAGS=-L./glide/lib -lglide LFLAGS=-L./glide/lib -lglide
OBJ=main.o \ OBJ=OBJs/main.o \
FaultSources.o \ OBJs/FaultSources.o \
Utils.o \ OBJs/Utils.o \
Draw.o \ OBJs/Draw.o \
Test_Address.o \ OBJs/Test_Address.o \
Test_Data.o \ OBJs/Test_Data.o \
Test_Data_Huge.o OBJs/Test_Data_Huge.o
HEADERS := $(notdir $(wildcard *.h)) HEADERS := $(notdir $(wildcard *.h))
%.o: %.c $(HEADERS) OBJs/%.o: %.c $(HEADERS)
$(CC) -c -o $@ $< $(CFLAGS) $(CC) -c -o $@ $< $(CFLAGS)
v2-tmu-memtester : $(OBJ) v2-tmu-memtester : $(OBJ)

0
OBJs/.gitkeep Normal file
View File