mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 06:35:38 +00:00
9c86241cf8
Added multithreaded image loading for the GuiImage class.
19 lines
647 B
Makefile
19 lines
647 B
Makefile
CC=g++
|
|
CFLAGS=-c -Wall
|
|
LDFLAGS=-lSDL -lSDL_ttf -lSDL_image -lSDL_gfx -lboost_system -lboost_filesystem
|
|
SRCSOURCES=main.cpp Renderer.cpp Renderer_draw.cpp GuiComponent.cpp InputManager.cpp SystemData.cpp GameData.cpp FolderData.cpp XMLReader.cpp components/GuiGameList.cpp components/GuiInputConfig.cpp components/GuiImage.cpp components/GuiMenu.cpp pugiXML/pugixml.cpp
|
|
SOURCES=$(addprefix src/,$(SRCSOURCES))
|
|
OBJECTS=$(SOURCES:.cpp=.o)
|
|
EXECUTABLE=emulationstation
|
|
|
|
all: $(SOURCES) $(EXECUTABLE)
|
|
|
|
$(EXECUTABLE): $(OBJECTS)
|
|
$(CC) $(OBJECTS) $(LDFLAGS) -o $@
|
|
|
|
.cpp.o:
|
|
$(CC) $(CFLAGS) $< -o $@
|
|
|
|
clean:
|
|
rm -rf src/*o src/components/*o $(EXECUTABLE)
|