From 646d3d7ca9685003c61a9e145541c0476101436e Mon Sep 17 00:00:00 2001 From: jonas Date: Wed, 24 Apr 2019 19:11:33 +0200 Subject: Modified too accept multiple Files as inputs added debug mode --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3