Quellcode durchsuchen

Preparing for more benchmarks.

Ioannis Koutras vor 13 Jahren
Ursprung
Commit
aaddd1a3ba
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      Makefile

+ 3 - 3
Makefile

@@ -5,13 +5,13 @@ WARNINGS := -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align \
 	          -Wuninitialized -Wconversion -Wstrict-prototypes
 CFLAGS := -g -O -std=c99 $(WARNINGS)
 
-OBJ = posix_lock.o other.o LeaHeader.o sys_alloc.o dmm_init.o custom_malloc.o custom_free.o test.o
+OBJ = posix_lock.o other.o LeaHeader.o sys_alloc.o dmm_init.o custom_malloc.o custom_free.o
 
 %.o: %.c
 	$(CC) -c -o $@ $< $(CFLAGS)
 
-test: $(OBJ)
-	gcc -pthread -o $@ $^ $(CFLAGS)
+test: $(OBJ) test.o
+	$(CC) -pthread -o $@ $^ $(CFLAGS)
 
 clean:
 	-@$(RM) $(wildcard $(OBJ))