diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-10-14 04:13:30 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-10-14 04:13:30 +0200 |
commit | a966db5b71328f6adf9dd767e64b322a3bd7ed9c (patch) | |
tree | a9827363e73d5870fecf80986d3152a2bf1627c4 /Makefile | |
parent | 42b5891ca1fc7ec228058673b44a087c5c06bced (diff) | |
download | erlang-slang-fork-a966db5b71328f6adf9dd767e64b322a3bd7ed9c.tar.gz |
fixed build system: link against libslang in correct order
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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 $@ |