aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: ec57bed2c73270fb501eeb6ce484b2f0e25f3a6b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                      
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.


.PHONY: all
all: bin/malloc bin/new


bin/%: src/%.cc
	@mkdir -p bin
	$(CXX) -O0 -o $@ $^

.PHONY: clean
clean:
	-rm -r bin