diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |