breakout/Makefile

14 lines
346 B
Makefile
Raw Normal View History

libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32 -lSDL2_image -lSDL2_ttf
includes = -I".\include"
compiler = gcc
warningLevel = -Wall
sources = *.c
linker = -L".\lib"
dir = bin
target = Breakout.exe
args = -o
all:
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(dir)\$(target)
2018-01-14 13:47:05 +01:00
start cmd /C "cd $(dir) && $(target)"