Skip to content

Commit

Permalink
src: add -g flag to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Aug 25, 2024
1 parent 254f2e7 commit 95186fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fundamentals/datastructures/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TARGETS := $(patsubst $(SRCDIR)/%.c, %, $(SOURCES))
all: $(TARGETS)

$(TARGETS): % : $(SRCDIR)/%.c | bindir
$(CC) -o ${BINDIR}/$@ $<
$(CC) -g -o ${BINDIR}/$@ $<

bindir: bin

Expand Down

0 comments on commit 95186fe

Please sign in to comment.