summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1996-10-01 14:00:00 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:22:16 +0200
commit42192453ea219b80d0bf9f41e51e36d3d4d0740b (patch)
tree19585366567e23fd3f5c8ed6f930497d2fdc4e3c /Makefile
parent8b494f241f2abfc0f869ab42c1601ea5027d3477 (diff)
downloaddev86-42192453ea219b80d0bf9f41e51e36d3d4d0740b.tar.gz
Import dis88-minix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 17 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index c1352f0..05d2488 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# Makefile for dis
+
# @(#) Makefile, Ver. 2.1 created 00:00:00 87/09/01
# Makefile for 8088 symbolic disassembler
@@ -22,24 +24,26 @@
# the initialization data in the lookup tables. It should not
# be necessary to alter the formats of the tables.
+CFLAGS =-O -wo
OBJ = disrel.o dismain.o distabs.o dishand.o disfp.o
-dis88 : $(OBJ)
- ld -i -s -o dis88 /lib/crt0.o $(OBJ) -lc
- size dis88
- @echo "\07Build of 'dis88' complete." > /dev/tty
-
-.c.o :
- cc -O -c $<
- chmod 600 $*.o
+all: dis88
-disrel.o : disrel.c
+dis88: $(OBJ)
+ cc -i -o dis88 $(OBJ)
+ install -S 5kw dis88
-dismain.o : dismain.c dis.h
+install: /usr/bin/dis88
-distabs.o : distabs.c dis.h
+/usr/bin/dis88: dis88
+ install -cs -o bin dis88 $@
-dishand.o : dishand.c dis.h
+disrel.o: disrel.c
+dismain.o: dismain.c dis.h
+distabs.o: distabs.c dis.h
+dishand.o: dishand.c dis.h
+disfp.o: disfp.c dis.h
-disfp.o : disfp.c dis.h
+clean:
+ rm -f *.bak *.o core dis88