breakout/Makefile

16 lines
363 B
Makefile
Raw Normal View History

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