Fixed bugs and deinitialization
This commit is contained in:
8
Makefile
8
Makefile
@ -1,13 +1,15 @@
|
||||
libs = -lmingw32 -lSDL2main -lSDL2 -lopengl32 -lSDL2_image -lSDL2_ttf
|
||||
includes = -I".\include"
|
||||
compiler = gcc
|
||||
warningLevel = -Wall
|
||||
warningLevel = -Wall -Wno-unused-variable -Wno-unused-but-set-variable
|
||||
sources = *.c
|
||||
linker = -L".\lib"
|
||||
dir = bin
|
||||
target = Breakout.exe
|
||||
target = Breakout
|
||||
args = -o
|
||||
|
||||
all:
|
||||
$(compiler) $(warningLevel) $(includes) $(sources) $(linker) $(libs) $(args) $(dir)\$(target)
|
||||
start cmd /C "cd $(dir) && $(target)"
|
||||
|
||||
run:
|
||||
cd $(dir) && $(target)
|
||||
|
Reference in New Issue
Block a user