diff options
| author | mo khan <mo@mokhan.ca> | 2015-01-03 16:53:03 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-01-03 16:53:03 -0700 |
| commit | e81d003ad7987389ad00897d672be873fe14bb06 (patch) | |
| tree | ba62ffae00265fef5ca1c87c991bb263fcdac2d3 | |
| parent | 2451373af6454203a3471cfb9e6f3280629f0d39 (diff) | |
move tests to a separate test directory.
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | test/world_test.c (renamed from src/world_test.c) | 0 |
2 files changed, 3 insertions, 3 deletions
@@ -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 diff --git a/src/world_test.c b/test/world_test.c index de055e3..de055e3 100644 --- a/src/world_test.c +++ b/test/world_test.c |
