1
0
mirror of https://github.com/krislamo/Trololo synced 2024-12-16 02:30:36 +00:00
Trololo/makefile

11 lines
293 B
Makefile
Raw Normal View History

ifdef SystemRoot
INCLUDES=-IC:\MinGW\include
SDL_LIBS=-lmingw32 -lSDLmain -lSDL -mwindows -lSDL_image -lSDL_ttf
else
INCLUDES=-I/opt/local/include
SDL_LIBS=`pkg-config --libs sdl` -lSDL -lSDL_image -lSDL_ttf
endif
all:
2013-03-04 11:31:47 +00:00
g++ -Wall main.cpp core.cpp main.h -o mario ${INCLUDES} ${SDL_LIBS}