Skip to content

Commit

Permalink
very important Makefile debug rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tudurom committed Aug 8, 2017
1 parent e62257b commit 03ca6a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ CFLAGS += $(NAME_DEFINES)

all: $(BIN)

debug: CFLAGS += -O0 -g -DD
debug: $(__NAME__) $(__NAME_CLIENT__)

$(__NAME__): wm.o list.o
@echo $@
@$(CC) -o $@ $^ $(LDFLAGS)
Expand Down

0 comments on commit 03ca6a6

Please sign in to comment.