view interps/cfunge/Makefile @ 11595:2c76cd443c31 draft

<wob_jonas> learn Angband is Morgoth\'s second dungeon. When the valar finally defeated Morgoth in the first dungeon Utumno, they were too lazy to go to for 100% completion, so some evil spirits in Angband survived for a sequel.
author HackEso <hackeso@esolangs.org>
date Thu, 16 Aug 2018 18:05:33 +0000
parents 859f9b4339e6
children
line wrap: on
line source

# Makefile for building cfunge.
BUILD_OPTIONS = -DUSE_NCURSES:BOOL=FALSE \
                -DUSE_CLOCK_GETTIME:BOOL=FALSE \
                -DUSE_64BIT:BOOL=FALSE \
                -DENABLE_TRACE:BOOL=FALSE \
                -DENABLE_TURT:BOOL=FALSE \
                -DCMAKE_BUILD_TYPE=Release

all: cfunge

clean:
	rm -rf build cfunge

build:
	mkdir build

build/Makefile: build
	cd build && cmake $(BUILD_OPTIONS) ../cfunge-src

build/cfunge: build/Makefile
	cd build && make

cfunge: build/cfunge
	cp build/cfunge cfunge

.PHONY: clean all