mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-12 14:11:29 -06:00
- 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.
17 lines
288 B
Makefile
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)
|