diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |