15 lines
287 B
Makefile
15 lines
287 B
Makefile
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32
|
|
includes = -I".\include"
|
|
compiler = gcc
|
|
warningLevel = -Wall
|
|
sources = *.c
|
|
linker = -L".\lib"
|
|
target = bin\Breakout.exe
|
|
args = -o
|
|
|
|
all:
|
|
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(target)
|
|
|
|
run:
|
|
$(target)
|