asteroids/Makefile

15 lines
328 B
Makefile
Raw Normal View History

2017-12-27 00:57:22 +01:00
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32 -lSDL2_image -lSDL2_ttf
includes = -I"C:\SDL2\x32\include"
compiler = gcc
warningLevel = -Wall
sources = *.c
linker = -L"C:\SDL2\x32\lib"
target = Asteroids.exe
args = -o
all:
2017-12-27 00:57:22 +01:00
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(target)
2017-12-27 00:42:06 +01:00
run:
2017-12-27 00:57:22 +01:00
$(target)