File: pstotxt1.mak

package info (click to toggle)
pstotext 1.9-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 256 kB
  • ctags: 273
  • sloc: ansic: 1,784; makefile: 76; sh: 1
file content (64 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# pstotxt1.mak
# Makefile for pstotxt1.dll, for use with Win16 GSview

# makefile created by
# Russell Lang, 1996-07-29
# updated 1996-10-11

# For debugging, use bcc -v

COMPBASE = c:\bc45
COMPDIR = $(COMPBASE)\bin
INCDIR = $(COMPBASE)\include
LIBDIR = $(COMPBASE)\lib
#DEBUGLINK = -v
MODEL=l

CCAUX=$(COMPDIR)\bcc
CC=$(COMPDIR)\bcc $(DEBUGLINK) -m$(MODEL) -DNEED_PROTO

all:	pstotxt1.dll

.c.obj:
	$(CC) -c $*.c

ocr.h: ocr.ps mkrch.exe
	mkrch $*.ps $*.h 1

rot270.h: rot270.ps mkrch.exe
	mkrch $*.ps $*.h 2

rot90.h: rot90.ps mkrch.exe
	mkrch $*.ps $*.h 3

mkrch.exe: mkrch.c
	$(CCAUX) $*.c

pstotxt1.obj: ptotdll.c ptotdll.h
	$(CC) -c -WD -opstotxt1.obj ptotdll.c

pstotxt1.rc:  ocr.h rot270.h rot90.h
	copy ocr.h+rot270.h+rot90.h pstotxt1.rc

pstotxt1.res: pstotxt1.rc
	$(COMPDIR)\brcc -i$(INCDIR) -r pstotxt1.rc


pstotxt1.dll: pstotxt1.obj pstotxt1.res
	$(CC) -WD -epstotxt1.dll pstotxt1.obj
	$(COMPDIR)\rlink pstotxt1.res pstotxt1.dll

prezip: pstotxt1.dll
	copy pstotxt1.dll ..\pstotxt1.dll
	copy pstotext.txt ..\pstotext.txt

clean:
	-del pstotxt1.dll
	-del pstotxt1.res
	-del pstotxt1.rc
	-del *.obj
	-del ocr.h
	-del rot270.h
	-del rot90.h
	-del mkrch.exe