all repos — nand2tetris @ 3d7b57086cfd40e7f87306605b6ec2f7cc7f74f2

my nand2tetris progress

projects/06/Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
CFLAGS = -std=c99 -Wall -Wextra

all: bin/assembler1 bin/assembler2

# TODO: clean up, make more Makefile-idiomatic

bin/assembler1: assembler1/assembler1.c
	$(CC) $(CFLAGS) -o $@ $<

bin/assembler2: assembler2/assembler2.c
	$(CC) $(CFLAGS) -o $@ $<

clean:
	rm -vf bin/*

.PHONY: clean