mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-13 17:01:01 +00:00
sowm: proper prototypes
This commit is contained in:
3 files changed
+19
-21
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user