head     1.1;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @# @;


1.1
date     92.02.28.11.29.07;  author bin;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#
#	Makefile for 'conf' commands
#
#					Angus Telfer (January 1987)
#

DESTDIR=.

# RET is the 386 'ret' instruction.
RET=0xC3
LIBS=
INCLUDE=
CC=cc
LD=ld
CFLAGS=$(INCLUDE)

patch:	patch.o coffnlist.o setfile.o
	$(CC) -o patch patch.o coffnlist.o setfile.o $(LIBS)

testit: testit.o nix.o
	$(CC) $(CFLAGS) -o testit testit.o nix.o $(LIBS)

test: testit
	./patch testit my_long=my_int+1:l
	./patch testit nix=$(RET):c
	./testit

install: patch
	cp patch $(DESTDIR)

clean:
	rm -f *.o *.a testit
@
