all repos — nand2tetris @ bba9e22274747685dcb9bfcd9170800278efead4

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

# 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