source: trunk/minix/commands/cron/Makefile@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 594 bytes
Line 
1# Makefile for cron.
2
3CFLAGS= -D_MINIX -D_POSIX_SOURCE
4CC = exec cc
5LDFLAGS=
6
7all: cron crontab
8
9CRON_OBJ= cron.o tab.o misc.o
10CRONTAB_OBJ= crontab.o tab.o misc.o
11
12cron: $(CRON_OBJ)
13 $(CC) $(LDFLAGS) -o $@ $(CRON_OBJ)
14 install -S 8kw $@
15
16crontab: $(CRONTAB_OBJ)
17 $(CC) $(LDFLAGS) -o $@ $(CRONTAB_OBJ)
18 install -S 4kw $@
19
20install: /usr/bin/cron /usr/bin/crontab
21
22/usr/bin/cron: cron
23 install -cs $? $@
24
25/usr/bin/crontab: crontab
26 install -cs -o root -m 4755 $? $@
27
28clean:
29 rm -f *.o cron crontab core a.out
30
31# Dependencies.
32cron.o crontab.o: misc.h tab.h
33tab.o: misc.h tab.h
34misc.o: misc.h
Note: See TracBrowser for help on using the repository browser.