|
|
1.1 root 1: #
2: # Makefile for 'conf' commands
3: #
4: # Angus Telfer (January 1987)
5: #
6:
7: DESTDIR=/bin386/conf/
8:
9: # RET is the 386 'ret' instruction.
10: RET=0xC3
11: LIBS=
12: INCLUDE=
13: CC=cc
14: LD=ld
15: CFLAGS=$(INCLUDE)
16:
17: patch: patch.o coffnlist.o setfile.o
18: $(CC) -o $(DESTDIR)patch patch.o coffnlist.o setfile.o $(LIBS)
19:
20: testit: testit.o nix.o
21: $(CC) $(CFLAGS) -o testit testit.o nix.o $(LIBS)
22:
23: test: testit
24: ./patch testit my_long=my_int+1:l
25: ./patch testit nix=$(RET):c
26: ./testit
27:
28: install: patch
29: cp patch $(DESTDIR)
30:
31: clean:
32: rm -f *.o *.a testit
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.