Files
V2TMUMemTester/Makefile
2026-02-28 23:28:39 +00:00

27 lines
513 B
Makefile

CC=gcc
CFLAGS= -Wall -std=gnu99 -O6 -m32 -march=pentium3 -fomit-frame-pointer -funroll-loops \
-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
HEADERS := $(notdir $(wildcard *.h))
%.o: %.c $(HEADERS)
$(CC) -c -o $@ $< $(CFLAGS)
v2-tmu-memtester : $(OBJ)
$(CC) -o $@ $(LFLAGS) $^
all: v2-tmu-memtester