diff --git a/Jenkinsfile b/Jenkinsfile index 486a5c5..7dd79ab 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { stage('SaveBin') { steps { - archiveArtifacts artifacts: 'v2memtest' + archiveArtifacts artifacts: 'v2-tmu-memtester' } } } diff --git a/Makefile b/Makefile index 1dfb33f..fee9a5c 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ CC=gcc -CFLAGS= -Wall -std=gnu99 -O6 -march=pentium3 -fomit-frame-pointer -funroll-loops \ - -fexpensive-optimizations -ffast-math -fno-strict-aliasing - -CFLAGS+=-I. -I./glide/headers -I/usr/include/glide -CFLAGS+=-DCVG +CFLAGS= -Wall -std=gnu99 -O6 -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 @@ -16,10 +15,12 @@ OBJ=main.o \ Test_Data.o \ Test_Data_Huge.o -%.o: %.c +HEADERS := $(notdir $(wildcard *.h)) + +%.o: %.c $(HEADERS) $(CC) -c -o $@ $< $(CFLAGS) -v2memtest : $(OBJ) +v2-tmu-memtester : $(OBJ) $(CC) -o $@ $(LFLAGS) $^ -all: v2memtest +all: v2-tmu-memtester