summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8c7b6eb20c1d57b48319e8626f82796144749349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFLAGS += -std=c99 -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -Wall -Wextra

all: simulator

simulator: simulator.o gate.o logic.o parser.o

.PHONY: test
test: all
	$(MAKE) -C test all test

clean:
	rm -f parser simulator
	rm -f *.o