sowm: proper prototypes

This commit is contained in:
Dylan Araps committed 2020-01-23 17:00:26 +02:00
1 parent a31091472a
commit 69f2c71fb7
3 files changed
+19 -21

No files matched your search

+5 -6
View File
@@ -1,8 +1,7 @@
CFLAGS+= -std=c99 -Wall -Wextra -pedantic
LDADD+= -lX11
LDFLAGS=
PREFIX?= /usr
BINDIR?= $(PREFIX)/bin
CFLAGS += -std=c99 -Wall -Wextra -pedantic
CFLAGS += -Wmissing-prototypes -Wno-unused-parameter
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
CC ?= gcc
@@ -12,7 +11,7 @@ config.h:
cp config.def.h config.h
sowm: sowm.o
$(CC) $(LDFLAGS) -O3 -o $@ $+ $(LDADD)
$(CC) $(LDFLAGS) -O3 -o $@ $+ -lX11
install: all
install -Dm 755 sowm $(DESTDIR)$(BINDIR)/sowm