1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

Minor improvements to Makefile.mac.

This commit is contained in:
Arthur O'Dwyer 2017-10-29 12:47:18 -07:00
parent c611131f5a
commit 828f8c5c88

View File

@ -6,7 +6,8 @@
# Run "brew install sdl_ttf". # Run "brew install sdl_ttf".
# Run "make -f Makefile.mac" to build HyperRogue as ./hyper. # Run "make -f Makefile.mac" to build HyperRogue as ./hyper.
CXXFLAGS += -std=c++11 -DMAC CXXFLAGS += -std=c++11 -march=native -DMAC
# CXXFLAGS += -DCAP_ROGUEVIZ
CXXFLAGS += -W -Wall -Wextra -pedantic CXXFLAGS += -W -Wall -Wextra -pedantic
CXXFLAGS += -Wno-format-pedantic -Wno-unused-parameter -Wno-char-subscripts -Wno-missing-field-initializers -Wno-vla-extension CXXFLAGS += -Wno-format-pedantic -Wno-unused-parameter -Wno-char-subscripts -Wno-missing-field-initializers -Wno-vla-extension
CXXFLAGS += ${EXTRA_CXXFLAGS} CXXFLAGS += ${EXTRA_CXXFLAGS}
@ -19,7 +20,7 @@ hyper: hyper.o
hyper.o: *.cpp language-data.cpp hyper.o: *.cpp language-data.cpp
$(CXX) $(CXXFLAGS) -O2 -c hyper.cpp $(CXX) $(CXXFLAGS) -O2 -c hyper.cpp
langen: langen.cpp langen: langen.cpp language-??.cpp language-ptbr.cpp
$(CXX) $(CXXFLAGS) -O0 -Wno-embedded-directive langen.cpp -o langen $(CXX) $(CXXFLAGS) -O0 -Wno-embedded-directive langen.cpp -o langen
# Generation of language-data.cpp # Generation of language-data.cpp