summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6df2318..f1fb0a8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+#LIBTOOL := libtool --mode=link --tag=CC
+LIBTOOL :=
DEBUG_CFLAGS := -O0 -ggdb -Wall -fsanitize=address -fno-omit-frame-pointer -DENCODE_DEBUG -DPLAY_DEBUG -DHEADERS_DEBUG
#CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer -DENCODE_DEBUG
CFLAGS := -O2 -Wall
@@ -13,7 +15,7 @@ VPATH := debug
$(CC) -c $< $(CFLAGS) $(LIBS) -o $@
$(SERVER_NAME): src/main.c $(SRC_OBJS)
- $(CC) $^ $(CFLAGS) $(LIBS) -o $@
+ $(LIBTOOL) $(CC) $^ $(CFLAGS) $(LIBS) -o $@
all: sst-server