File: Makefile.dj

package info (click to toggle)
antiword 0.37-17
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,332 kB
  • sloc: ansic: 27,788; perl: 174; sh: 129; php: 83; makefile: 24
file content (48 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (9)
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
#
# Makefile for antiword (DOS version)
#
# DJGPP
#

CC	= gcc
LD	= gcc

# must be equal to DEBUG or NDEBUG
DB	= DEBUG
# Optimization: -O<n> or debugging: -g
OPT	= -O2

LDLIBS	=

CFLAGS	= -Wall -pedantic $(OPT) -D__dos -D$(DB)
LDFLAGS	=

OBJS	=\
	main_u.o asc85enc.o blocklist.o chartrans.o datalist.o depot.o\
	dib2eps.o doclist.o fail.o finddata.o findtext.o fmt_text.o fontlist.o\
	fonts.o fonts_u.o hdrftrli.o imgexam.o imgtrans.o jpeg2eps.o listlist.o\
	misc.o notes.o options.o out2window.o output.o pdf.o pictlist.o\
	png2eps.o postscript.o prop0.o prop2.o prop6.o prop8.o properties.o\
	propmod.o rowlist.o sectlist.o stylelist.o stylesheet.o summary.o\
	tabstop.o text.o unix.o utf8.o word2text.o worddos.o wordlib.o\
	wordmac.o wordole.o wordwin.o xmalloc.o xml.o dos.o

PROG	= antiword.exe

all:		$(PROG)

clean:
		rm -f $(OBJS)
		rm -f $(PROG)

$(PROG):	$(OBJS)
		@rm -f $@
		$(LD) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@

.c.o:
	$(CC) $(CFLAGS) -c $<

main_u.o:	version.h
postscript.o:	version.h
pdf.o:		version.h
fonts_u.o:	fontinfo.h