mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
19 lines
347 B
Makefile
19 lines
347 B
Makefile
CC=g++
|
|
CFLAGS=-c -Wall
|
|
LDFLAGS=-lSDL
|
|
SRCSOURCES=main.cpp Renderer.cpp GuiComponent.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 $(EXECUTABLE)
|