aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-04-24 19:11:33 +0200
committerGravatar jonas <himself@jonasgunz.de> 2019-04-24 19:11:33 +0200
commit646d3d7ca9685003c61a9e145541c0476101436e (patch)
treeee4f7a6fcfe8c3e63ec18a026e4f836563195f08 /Makefile
parenta8934902644a6353b5914e0d6bad37f95bd8e730 (diff)
downloadheadstripper-646d3d7ca9685003c61a9e145541c0476101436e.tar.gz
Modified too accept multiple Files as inputs
added debug mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d6b855..33cb622 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CC = clang
-CLAGS = -Wall -g
+CC = gcc
+CFLAGS = -Wall
LDFLAGS =
BUILDDIR = build
SOURCEDIR = src
@@ -14,6 +14,9 @@ build: dir $(OBJ)
@echo [LD] $(OBJ)
@$(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS)
+debug: CFLAGS += -g -D _DEBUG
+debug: build;
+
dir:
@mkdir -p $(OBJECTDIR)
@mkdir -p $(BUILDDIR)