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