File: makefile

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (35 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (13)
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
#	Fig2epic : FIG to EPIC translator
#
#	Conrad Kwok
#	Modified from fig2pic which was modified from f2ps
#

SRCDIR = ../src
SRCLIB = $(SRCDIR)/lib.a

LIBS =	-lm
#
#  Use of gcc is recommended whenever available. 
#	-Inlcude DNoVPRINTF in CFLAGS if vprintf is not included in the library
#	Include	-DNoConfigFile and remove config.* if no configuration
#		file is desired.
#
CFLAGS = -O $(CROSS)
CC =	gcc $(CFLAGS) -I$(SRCDIR) 

fig2epic : fig2epic.o config.o $(SRCLIB)
	$(CC) fig2epic.o config.o $(SRCLIB) -lm -o fig2epic

#    Include:
#	-DINT32BIT when int is 32 bits long
#	-DOldFashion when compiled using cc on Ultrix and BSD 4.x
config.o : config.c
	$(CC) -DINT32BIT -c config.c

$(SRCLIB):
	(cd ../src; make)

#########
clean : 
	rm -f *.o fig2epic core