diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | config.mk | 6 |
2 files changed, 4 insertions, 5 deletions
@@ -17,15 +17,12 @@ check: timeprefix install: timeprefix mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" - mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/timeprefix" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" cp -- timeprefix "$(DESTDIR)$(PREFIX)/bin/" - cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/timeprefix/" cp -- timeprefix.1 "$(DESTDIR)$(MANPREFIX)/man1/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/bin/timeprefix" - -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/timeprefix" -rm -- "$(DESTDIR)$(MANPREFIX)/man1/timeprefix.1" clean: @@ -1,6 +1,8 @@ -PREFIX = /local/usr +PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CFLAGS = -std=c99 -Wall -Wextra -O2 +CC = cc + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 +CFLAGS = -std=c99 -Wall -O2 LDFLAGS = -s |