mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-11-24 04:31:03 +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
|
CC=clang
|
||||||
CFLAGS=-O3 -fomit-frame-pointer -Isrc/libdivsufsort/include -Isrc
|
CFLAGS=-O3 -g -fomit-frame-pointer -Isrc/libdivsufsort/include -Isrc
|
||||||
OBJDIR=obj
|
OBJDIR=obj
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
STRIP=strip
|
|
||||||
|
|
||||||
$(OBJDIR)/%.o: src/../%.c
|
$(OBJDIR)/%.o: src/../%.c
|
||||||
@mkdir -p '$(@D)'
|
@mkdir -p '$(@D)'
|
||||||
@ -34,7 +33,6 @@ all: $(APP)
|
|||||||
|
|
||||||
$(APP): $(OBJS)
|
$(APP): $(OBJS)
|
||||||
$(CC) $^ $(LDFLAGS) -o $(APP)
|
$(CC) $^ $(LDFLAGS) -o $(APP)
|
||||||
$(STRIP) $(APP)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf $(APP) $(OBJDIR)
|
@rm -rf $(APP) $(OBJDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user