diff --git a/Makefile b/Makefile index ce2b534..b0c4bea 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ source = $(shell find src/ -type f -name *.c) libraries = -lSDL2 -lSDL2_image $(shell xml2-config --cflags --libs) includes = -Iinclude -Isrc -args_debug = -Wall -g +args_debug = -Wall -g3 args_package = -g0 build: @@ -17,9 +17,10 @@ r: run package: clean mkdir $(project) cp -r resources/ $(project)/resources/ - cc $(source) $(project)/$(project) $(args_package) $(libraries) $(includes) + cc $(source) -o $(project)/$(project) $(args_package) $(libraries) $(includes) p: package clean: rm -rf $(project) + rm -f bin/$(project) c: clean \ No newline at end of file