makefile
public text v1 · immutableSDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)
AppName = boxescape
AppVersion = 0.1
MyProgram: main.cpp
g++ main.cpp -o $(AppName)-$(AppVersion) ${SDL_CFLAGS} ${SDL_LDFLAGS}