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

all: hence

hence: hence.o common.o gate.o logic.o lex.o parse.o

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

clean:
	rm -f hence
	rm -f *.o

full-clean: clean
	make -C test clean