build in dedicated folder
This commit is contained in:
19
Makefile
19
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)
|
||||
|
||||
0
OBJs/.gitkeep
Normal file
0
OBJs/.gitkeep
Normal file
Reference in New Issue
Block a user