Last change
on this file since 793 was
359,
checked in by quentin, 18 years ago
|
initial checkin of cron system
|
File size:
519 bytes
|
Rev | Line | |
---|
[359] | 1 | # Makefile for dillon's cron and crontab |
---|
| 2 | # |
---|
| 3 | |
---|
| 4 | DESTDIR ?= /usr/local |
---|
| 5 | CC = gcc |
---|
| 6 | CFLAGS = -O2 -Wall -Wstrict-prototypes |
---|
| 7 | LIB = |
---|
| 8 | D_SRCS = cronload.real.c subs.c |
---|
| 9 | D_OBJS = cronload.real.o subs.o |
---|
| 10 | |
---|
| 11 | all: cronload.real |
---|
| 12 | |
---|
| 13 | cronload.real: ${D_OBJS} |
---|
| 14 | ${CC} ${CFLAGS} -o cronload.real ${D_OBJS} |
---|
| 15 | strip cronload.real |
---|
| 16 | |
---|
| 17 | clean: cleano |
---|
| 18 | rm -f cronload.real |
---|
| 19 | |
---|
| 20 | cleano: |
---|
| 21 | rm -f *.o |
---|
| 22 | |
---|
| 23 | install: |
---|
| 24 | install -o root -g wheel -m 4755 cronload.real ${DESTDIR}/bin/cronload.real |
---|
| 25 | # install -o root -g wheel -m 0644 crontab.1 ${DESTDIR}/man/man1/crontab.1 |
---|
| 26 | |
---|
| 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.