timeoutd/Makefile
Clark Rawlins 4f37273c60 Ignore warnings on unused return values
Modify the Makefile to silence warnings about unused
return values in the source code.

Signed-off-by: Clark Rawlins <clark@bit63.org>
2014-12-14 09:53:14 -08:00

12 lines
455 B
Makefile

CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall -Wno-unused-result
timeoutd: timeoutd.c Makefile
#$(CC) $(CFLAGS) -o timeoutd timeoutd.c
$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11
$(CC) $(CFLAGS) -o timeoutd -L/usr/X11R6/lib timeoutd.o -lXss -lXext -lX11
install:
install -o root -g system -m 2111 timeoutd /usr/etc/timeoutd
install -o man -g info -m 444 timeoutd.8 /usr/man/man8
install -o man -g info -m 444 timeouts.5 /usr/man/man5