File: Makefile

package info (click to toggle)
autolog 0.34-5
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 96 kB
  • ctags: 61
  • sloc: ansic: 413; makefile: 44; sh: 15
file content (21 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# *********************************************************
# Change this section as needed
# The -g flag is to include debugging information.  It gets
# stripped back out in the install command anyway.
CC	= gcc
CFLAGS	= -O2 -g -Wall
MANDIR  = $(DESTDIR)/usr/man
BINDIR  = $(DESTDIR)/usr/sbin
# *********************************************************

autolog:	autolog.c
	$(CC) $(CFLAGS) -o autolog autolog.c

install:	autolog
	install -s autolog $(BINDIR)
	install -p -m644 autolog.conf.5 $(MANDIR)/man5
	install -p -m644 autolog.8 $(MANDIR)/man8
	install -p -m644 crontab $(DESTDIR)/etc/cron.d/autolog

clean:
	rm -f autolog