comparison interps/cfunge/Makefile @ 996:859f9b4339e6

<Gregor> tar xf egobot.tar.xz
author HackBot
date Sun, 09 Dec 2012 19:30:08 +0000
parents
children
comparison
equal deleted inserted replaced
995:6883f5911eb7 996:859f9b4339e6
1 # Makefile for building cfunge.
2 BUILD_OPTIONS = -DUSE_NCURSES:BOOL=FALSE \
3 -DUSE_CLOCK_GETTIME:BOOL=FALSE \
4 -DUSE_64BIT:BOOL=FALSE \
5 -DENABLE_TRACE:BOOL=FALSE \
6 -DENABLE_TURT:BOOL=FALSE \
7 -DCMAKE_BUILD_TYPE=Release
8
9 all: cfunge
10
11 clean:
12 rm -rf build cfunge
13
14 build:
15 mkdir build
16
17 build/Makefile: build
18 cd build && cmake $(BUILD_OPTIONS) ../cfunge-src
19
20 build/cfunge: build/Makefile
21 cd build && make
22
23 cfunge: build/cfunge
24 cp build/cfunge cfunge
25
26 .PHONY: clean all