Skip to content

Commit

Permalink
Simplify Makefile...
Browse files Browse the repository at this point in the history
- Remove -fstack-protector-all from CFLAGS, it is not necessary
- Remove -r from RM since we never remove directories
  • Loading branch information
mojotx committed Mar 28, 2022
1 parent 86d9b86 commit e23d183
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

#CC=gcc
CC=clang
CFLAGS+=-Os -Wall -Wextra -pedantic -fstack-protector -fstack-protector-all -pipe
RM=rm -rvf
CFLAGS+=-Os -Wall -Wextra -pedantic -fstack-protector -pipe
RM=rm -vf

all: xttitle

xttitle: src/xttitle.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
Expand Down

0 comments on commit e23d183

Please sign in to comment.