aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: da0a4182369a2b8ce0784c7d65392116eb4356f9 (plain) (blame)
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/alloca


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

.PHONY: clean
clean:
	-rm -r bin