Updated wumpus Makefile to match other example projects.
[vvhitespace] / Makefile
CommitLineData
249fb9ba 1# (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
a41cabb1 2# See LICENSE.txt file for copyright and license details.
249fb9ba
AT
3
4####################################################################################################
5# Configuration
6
7CC = cc
8CC_FLAGS = -Wall -std=c99
9
10####################################################################################################
11# Build
12
13all: vvc vvi
14
15vvi:
16 $(CC) $(CC_FLAGS) -o $@ vv_interpreter.c
17
18vvc:
19 $(CC) $(CC_FLAGS) -o $@ vv_compiler.c
20
21clean:
22 @rm -f vvc vvc.core vvi vvi.core
a805b721
AT
23
24test: testvvi teststdlib
25
26testvvi: all
27 @cd tests; make test
28
29teststdlib: all
30 @cd stdlib_tests; make test
31
32testclean:
33 @cd tests; make clean
34 @cd stdlib_tests; make clean