forked from miloyip/itoa-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 658 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ifeq ($(CONFIG),)
CONFIG = release_x64
endif
ifeq ($(VERBOSE),)
VERBOSE=1
endif
all : bin/itoa_release_x64_gmake
cd bin && ./itoa_release_x64_gmake $(ARGS)
cd result && make -f makefile
bin/itoa_%_gmake : build/gmake/itoa.make
cd build/gmake && make -f itoa.make config=$(CONFIG) verbose=$(VERBOSE)
clean :
rm -rf build/gmake
rm -rf build/vs2005
rm -rf build/vs2008
rm -rf build/vs2010
rm -rf intermediate
rm -rf src/machine.h
rm -rf bin
cd result && make -f makefile clean
setup :
cd build && ./premake.sh && ./machine.sh
build/gmake/itoa.make : setup
clean_status :
@echo "Filesystem status according to GIT"
@git clean -dfxn