Added files for compilation and basic information (also included dll)

This commit is contained in:
Michael Chen
2018-01-07 14:28:49 +01:00
parent 9b94a6cc15
commit 5f5e069f6e
5 changed files with 469 additions and 1 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32
includes = -I"C:\SDL2\x32\include"
compiler = gcc
warningLevel = -Wall
sources = *.c
linker = -L"C:\SDL2\x32\lib"
target = Breakout.exe
args = -o
all:
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(target)
run:
$(target)