mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-08-01 04:31:59 -07:00
sowm: fixed all compiler warnings.
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user