sowm: fixed all compiler warnings.

This commit is contained in:
Dylan Araps
2019-10-15 19:45:24 +03:00
parent c4e64e27b7
commit 5668ad1259
3 changed files with 13 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
CFLAGS+= -std=c99 -Wall -Wno-deprecated-declarations -pedantic
CFLAGS+= -std=c99 -Wall -Wextra -pedantic -Wno-deprecated-declarations
LDADD+= -lX11
LDFLAGS=
PREFIX?= /usr
@@ -12,7 +12,7 @@ config.h:
cp config.def.h config.h
sowm: sowm.o
$(CC) $(LDFLAGS) -Os -o $@ $+ $(LDADD)
$(CC) $(LDFLAGS) -O3 -o $@ $+ $(LDADD)
install: all
install -Dm 755 sowm $(DESTDIR)$(BINDIR)/sowm