breakout/Makefile
2018-01-09 14:36:57 +01:00

17 lines
317 B
Makefile

libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32
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)
run:
cd $(dir) && \
$(target)