mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
2efca58869
You should no longer see non-error output with ES except for "cleanly shutting down". The new log file is located in ~/.emulationstation/es_log.txt. If you notice any performance degredation, please tell me!
26 lines
1,013 B
Makefile
26 lines
1,013 B
Makefile
CXX=g++
|
|
CXXFLAGS=-Wall -g -O2
|
|
LDFLAGS=
|
|
|
|
SRC_SOURCES=AudioManager.cpp Log.cpp FolderData.cpp Font.cpp GameData.cpp GuiComponent.cpp InputManager.cpp main.cpp MathExp.cpp Renderer.cpp Renderer_draw_gl.cpp Renderer_init.cpp Sound.cpp SystemData.cpp XMLReader.cpp components/GuiAnimation.cpp components/GuiBox.cpp components/GuiFastSelect.cpp components/GuiGameList.cpp components/GuiImage.cpp components/GuiInputConfig.cpp components/GuiMenu.cpp components/GuiTheme.cpp pugiXML/pugixml.cpp
|
|
SOURCES=$(addprefix src/,$(SRC_SOURCES))
|
|
OBJECTS=$(SOURCES:.cpp=.o)
|
|
DEPS=$(SOURCES:.cpp=.d)
|
|
EXECUTABLE=emulationstation
|
|
|
|
all: $(EXECUTABLE)
|
|
|
|
$(EXECUTABLE): $(DEPS) $(OBJECTS)
|
|
$(CXX) -o $@ $(LDFLAGS) $(OBJECTS) $(LIBS)
|
|
|
|
include $(wildcard src/*.d src/components/*.d src/pugiXML/*.d)
|
|
|
|
%.d: %.cpp
|
|
$(SHELL) -ec '$(CXX) -M $(CPPFLAGS) $< | tr -d "\\\\\n" | sed -e "s|$(*F).o|$(*D)/& $@|" -e "s|: \(.*\)|: \$$\(wildcard \1\)|" > $@'
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm -f src/*.[do] src/components/*.[do] src/pugiXML/*.[do] $(EXECUTABLE)
|
|
|