all repos — nand2tetris @ 1a738e55ade7983f9c5b158ff325c19d5f5c7672

my nand2tetris progress

projects/06/Makefile

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

all: bin/assembler1
#all: bin/assembler1 bin/bin2text

# TODO: clean up, make more Makefile-idiomatic

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

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

clean:
	rm -vf bin/*

.PHONY: clean