1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CFLAGS += -std=c99 -D_XOPEN_SOURCE=500 -Wall -Wextra all: simulator parser simulator: simulator.o gate.o logic.o parser: parser.o gate.o logic.o .PHONY: test test: $(MAKE) -C test all test clean: rm -f parser simulator rm -f *.o