projects/06/Makefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# nand2tetris chapter 6 assembler makefile # for debugging this makefile: `make -d` CFLAGS = -std=c99 -Wall -Wextra all: bin/n2tasm1 bin/n2tasm2 bin/n2tasm%: src/n2tasm%.c $(CC) $(DEBUG) $(CFLAGS) -o $@ $< debug: DEBUG = -D_DEBUG debug: all test: ./test/run-tests.sh clean: rm -vf bin/* .PHONY: debug test clean |