aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 04:13:30 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 04:13:30 +0200
commita966db5b71328f6adf9dd767e64b322a3bd7ed9c (patch)
treea9827363e73d5870fecf80986d3152a2bf1627c4 /Makefile
parent42b5891ca1fc7ec228058673b44a087c5c06bced (diff)
downloaderlang-slang-fork-a966db5b71328f6adf9dd767e64b322a3bd7ed9c.tar.gz
fixed build system: link against libslang in correct order
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 579b140..233e742 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,10 @@
-export CC ?= gcc
-export ERL ?= erl
-export RM ?= rm
+export CC := gcc
+export ERL := erl
+export RM := rm
-CFLAGS ?= -O2
-CPPFLAGS ?=
-LDFLAGS ?=
-
-override CFLAGS += -Wall
-
-export CFLAGS CPPFLAGS LDFLAGS
+export CFLAGS ?= -O2
+export CPPFLAGS ?=
+export LDFLAGS ?=
all:
$(MAKE) -C c_src $@