Commit e81d003

mo khan <mo@mokhan.ca>
2015-01-03 23:53:03
move tests to a separate test directory.
1 parent 2451373
Changed files (2)
src/world_test.c → test/world_test.c
File renamed without changes
Makefile
@@ -1,5 +1,5 @@
 SHELL=/bin/sh
-CFLAGS=-Wall -g -std=c99
+CFLAGS=-Wall -g -std=c99 -Isrc
 objects=cell.o world.o
 test_objects=world_test.o
 exe=./bin/game_of_life
@@ -25,5 +25,5 @@ cell.o: src/cell.c src/cell.h
 world.o: src/world.c src/world.h
 	$(CC) $(CFLAGS) -c src/world.c
 
-world_test.o: src/world_test.c src/world.h
-	$(CC) $(CFLAGS) -c src/world_test.c
+world_test.o: test/world_test.c src/world.h
+	$(CC) $(CFLAGS) -c test/world_test.c