mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-11-23 12:35:55 +00:00
Keep debug info when building executable
This commit is contained in:
parent
4402f1b2b8
commit
71493cf889
4
Makefile
4
Makefile
@ -1,8 +1,7 @@
|
||||
CC=clang
|
||||
CFLAGS=-O3 -fomit-frame-pointer -Isrc/libdivsufsort/include -Isrc
|
||||
CFLAGS=-O3 -g -fomit-frame-pointer -Isrc/libdivsufsort/include -Isrc
|
||||
OBJDIR=obj
|
||||
LDFLAGS=
|
||||
STRIP=strip
|
||||
|
||||
$(OBJDIR)/%.o: src/../%.c
|
||||
@mkdir -p '$(@D)'
|
||||
@ -34,7 +33,6 @@ all: $(APP)
|
||||
|
||||
$(APP): $(OBJS)
|
||||
$(CC) $^ $(LDFLAGS) -o $(APP)
|
||||
$(STRIP) $(APP)
|
||||
|
||||
clean:
|
||||
@rm -rf $(APP) $(OBJDIR)
|
||||
|
Loading…
Reference in New Issue
Block a user