hostile-takeover/inicrunch/Makefile
Scott Ludwig f2289c40ac Make data assets buildable on Linux
- Buildable on OSX and Linux now
- Fixed filename casing mismatches
- Inicrunch fixes, osx and linux versions, added Makefile

Note: gnu's cpp doesn't understand the -Wno-invalid-pp-token flag,
the absence of which causes ignorable preprocessing warnings on
strings with unmatched quotes.
2016-01-21 19:06:42 -08:00

17 lines
288 B
Makefile

TOOLDIR=../bin
CPP_FLAGS=-Wno-multichar -Wno-write-strings
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
BINARY=inicrunch_osx
endif
ifeq ($(UNAME), Linux)
BINARY=inicrunch_linux
endif
all:
g++ $(CPP_FLAGS) main.cpp ini.cpp -o $(TOOLDIR)/$(BINARY)
clean:
rm -f $(TOOLDIR)/$(BINARY)