diff options
author | Edgar Fouillet <vlc@edgar.fouillet.eu> | 2019-11-03 21:00:28 +0100 |
---|---|---|
committer | jaseg <githubaccount@jaseg.net> | 2019-11-10 16:36:39 +0100 |
commit | 92831e54d870bf4b538e3603cc45129cb355c022 (patch) | |
tree | c974cd00bd57a440d3ea8dadd8130d85b4a3d215 | |
parent | 6e1caef075b973999cda4cac5b3fb40b6a4b5408 (diff) | |
download | lolcat-92831e54d870bf4b538e3603cc45129cb355c022.tar.gz lolcat-92831e54d870bf4b538e3603cc45129cb355c022.tar.bz2 lolcat-92831e54d870bf4b538e3603cc45129cb355c022.zip |
Makefile: remove -g from default cc command
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,13 +2,16 @@ CC ?= gcc LOLCAT_SRC ?= lolcat.c CENSOR_SRC ?= censor.c -CFLAGS ?= -std=c11 -Wall -Wextra -g +CFLAGS ?= -std=c11 -Wall -Wextra DESTDIR ?= /usr/local/bin all: lolcat censor -.PHONY: install clean +debug: CFLAGS += -g +debug: all + +.PHONY: install clean debug lolcat: $(LOLCAT_SRC) $(CC) $(CFLAGS) -o $@ $^ @@ -22,4 +25,3 @@ install: lolcat censor clean: rm -f lolcat censor - |