feat: implement and exhaustively test the game domain core
This commit is contained in:
+7
-3
@@ -1,13 +1,17 @@
|
||||
CC ?= cc
|
||||
CFLAGS ?= -std=c11 -Wall -Wextra -Werror -I../../include
|
||||
|
||||
all: test_command_queue
|
||||
all: test_command_queue test_game_domain
|
||||
|
||||
test_command_queue: test_command_queue.c ../../src/command_queue.c ../../src/application.c
|
||||
$(CC) $(CFLAGS) $^ -o $@
|
||||
|
||||
run: test_command_queue
|
||||
run: all
|
||||
./test_command_queue
|
||||
./test_game_domain
|
||||
|
||||
test_game_domain: test_game_domain.c ../../src/fleet_generator.c ../../src/game_engine.c
|
||||
$(CC) $(CFLAGS) $^ -o $@
|
||||
|
||||
clean:
|
||||
rm -f test_command_queue
|
||||
rm -f test_command_queue test_game_domain
|
||||
|
||||
Reference in New Issue
Block a user