2018-01-27 11:37:02 +01:00
|
|
|
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32 -lSDL2_image -lSDL2_ttf -lSDL2_mixer
|
2018-01-08 00:31:35 +01:00
|
|
|
includes = -I".\include"
|
2018-01-07 14:28:49 +01:00
|
|
|
compiler = gcc
|
2018-01-29 23:15:40 +01:00
|
|
|
warningLevel = -Wall -Wno-parentheses
|
2018-01-07 14:28:49 +01:00
|
|
|
sources = *.c
|
2018-01-08 00:31:35 +01:00
|
|
|
linker = -L".\lib"
|
2018-01-09 14:36:57 +01:00
|
|
|
dir = bin
|
2018-01-15 22:01:58 +01:00
|
|
|
target = Breakout
|
2018-01-07 14:28:49 +01:00
|
|
|
args = -o
|
|
|
|
|
|
|
|
all:
|
2018-01-09 14:36:57 +01:00
|
|
|
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(dir)\$(target)
|
2018-01-15 22:01:58 +01:00
|
|
|
|
|
|
|
run:
|
|
|
|
cd $(dir) && $(target)
|