source: trunk/minix/commands/patch/Makefile@ 9

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

Minix 3.1.2a

File size: 593 bytes
Line 
1# Makefile for patch
2
3CFLAGS= -O -DVOIDSIG -wo -D_MINIX -D_POSIX_SOURCE -DSMALL
4
5CC = exec cc
6
7OBJ = patch.o pch.o inp.o util.o version.o
8
9all: patch
10
11patch: $(OBJ)
12 cc -i -o patch $(OBJ)
13 install -S 1M patch
14
15install: /usr/bin/patch
16
17/usr/bin/patch: patch
18 install -cs -o bin patch $@
19
20patch.o: config.h common.h patch.c inp.h pch.h util.h version.h
21pch.o: config.h common.h pch.c pch.h util.h
22inp.o: config.h common.h inp.c inp.h util.h
23util.o: config.h common.h util.c util.h
24version.o: config.h common.h version.c version.h patchlevel.h util.h
25
26
27clean:
28 rm -f *.bak *.o *.s core patch
Note: See TracBrowser for help on using the repository browser.