2000-02-02 07:32:10 +00:00
|
|
|
--- Makefile.orig Wed Oct 28 08:45:58 1998
|
|
|
|
+++ Makefile Tue Feb 1 23:21:29 2000
|
|
|
|
@@ -8,7 +8,8 @@
|
|
|
|
# commenting out the includes of ptotdll.h in ptotdll.c and main.c.
|
|
|
|
# PMcJ 6 Sep 96
|
|
|
|
|
|
|
|
-CC=gcc
|
|
|
|
+CC?=gcc
|
|
|
|
+CFLAGS?=-O2
|
|
|
|
#CC=cc -std
|
|
|
|
|
|
|
|
BUNDLE = ocr.h rot270.h rot90.h
|
|
|
|
@@ -16,10 +17,10 @@
|
|
|
|
all: pstotext
|
|
|
|
|
|
|
|
main.o: ptotdll.h bundle.h ocr.h rot270.h rot90.h
|
|
|
|
- $(CC) -c $*.c
|
|
|
|
+ $(CC) ${CFLAGS} -c $*.c
|
|
|
|
|
|
|
|
ptotdll.o: ptotdll.h
|
|
|
|
- $(CC) -c $*.c
|
|
|
|
+ $(CC) ${CFLAGS} -c $*.c
|
|
|
|
|
|
|
|
pstotext: bundle.o main.o ptotdll.o
|
|
|
|
$(CC) -o pstotext main.o bundle.o ptotdll.o -lm
|
|
|
|
@@ -27,7 +28,7 @@
|
|
|
|
.SUFFIXES: .ps
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
- $(CC) -c $*.c
|
|
|
|
+ $(CC) ${CFLAGS} -c $*.c
|
|
|
|
|
|
|
|
# "Bundle" an Ascii file.
|
|
|
|
.ps.h:
|
|
|
|
@@ -42,3 +43,8 @@
|
|
|
|
|
1999-12-29 07:26:56 +00:00
|
|
|
clean:
|
|
|
|
rm -f pstotext *.o core $(BUNDLE)
|
|
|
|
+
|
|
|
|
+install:
|
|
|
|
+ cp -p pstotext /usr/local/bin
|
|
|
|
+ cp -p pstotext.1 /usr/local/man/man1
|
|
|
|
+
|