# Configurable flags for compilation CFLAGS?=-O0 -g -D_MT -D_REENTRANT LFLAGS?=-lm -lpthread ALLFLAGS?=-Wall all: mttest1.exe mttest2.exe mttest1.exe: mttest1.c gcc $(CFLAGS) $(LFLAGS) $(ALLFLAGS) mttest1.c -o mttest1.exe mttest2.exe: mttest1.c gcc -DRANDOM $(CFLAGS) $(LFLAGS) $(ALLFLAGS) mttest1.c -o mttest2.exe