73f12c5e by Jabis Sevón

makefile clean and rebuild

1 parent dec2c9f8
Showing 1 changed file with 3 additions and 3 deletions
......@@ -2,12 +2,10 @@ prog :=mmjab
debug ?=
$(info debug is $(debug))
ifdef debug
release :=
target :=debug
extension :=-debug
extension :=
else
release :=--release
target :=release
......@@ -22,6 +20,8 @@ install:
all: build install
rebuild: clean build install
clean:
rm ./$(prog)$(extension)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!