aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-10 17:05:02 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-10 17:05:02 +0100
commit3c68635799f99f598f9deeadfc3e0ac04462f4d3 (patch)
tree66b43a45f829d4d1682257a448fbd41eb54781a6 /Makefile
parentAdd parameters to graph output. (diff)
downloadcalp-3c68635799f99f598f9deeadfc3e0ac04462f4d3.tar.gz
calp-3c68635799f99f598f9deeadfc3e0ac04462f4d3.tar.xz
Minor cleanup.
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 726c5949..26e3c09b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,7 @@ CC := gcc
OBJDIR = obj
-# CPPFLAGS =
-CFLAGS = $(CPPFLAGS) \
- -std=gnu11 -Wall -Wextra \
+CFLAGS = -std=gnu11 -Wall -Wextra \
-ggdb -fPIC \
$(shell guile-config compile)
LDFLAGS = -fPIC $(shell guile-config link)
@@ -29,7 +27,7 @@ parse: $(O_FILES)
$(O_FILES): | $(OBJDIR)
$(OBJDIR)/%.o : %.c $(H_FILES) $(X_FILES)
- $(CC) -c -o $@ $< $(CFLAGS)
+ $(CC) -c $(CFLAGS) -o $@ $<
$(OBJDIR):
mkdir -p $(OBJDIR)