2018-01-10 15:37:55 +01:00
|
|
|
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32 -lSDL2_image -lSDL2_ttf
|
2018-01-08 00:31:35 +01:00
|
|
|
includes = -I".\include"
|
2018-01-07 14:28:49 +01:00
|
|
|
compiler = gcc
|
|
|
|
warningLevel = -Wall
|
|
|
|
sources = *.c
|
2018-01-08 00:31:35 +01:00
|
|
|
linker = -L".\lib"
|
2018-01-09 14:36:57 +01:00
|
|
|
dir = bin
|
|
|
|
target = Breakout.exe
|
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-12 10:47:14 +01:00
|
|
|
start cmd /K "cd $(dir) && $(target)"
|