home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
utility
/
gsview13
/
epstool
/
makefile.unx
< prev
Wrap
Makefile
|
1995-12-09
|
1KB
|
51 lines
# Copyright (C) 1993, 1994, Russell Lang. All rights reserved.
#
# This file is part of GSview.
#
# This program is distributed with NO WARRANTY OF ANY KIND. No author
# or distributor accepts any responsibility for the consequences of using it,
# or for whether it serves any particular purpose or works at all, unless he
# or she says so in writing. Refer to the GSview Free Public Licence
# (the "Licence") for full details.
#
# Every copy of GSview must include a copy of the Licence, normally in a
# plain ASCII text file named LICENCE. The Licence grants you the right
# to copy, modify and redistribute GSview, but only under certain conditions
# described in the Licence. Among other things, the Licence requires that
# the copyright notice and this notice be preserved on all copies.
# makefile.unx
# EPSTOOL
OBJ=o
COMP=gcc
# need to add flag to cause structures to be byte aligned.
# Not sure what flag should be used
FLAGS=
OBJS=epstool.$(OBJ) gvceps.$(OBJ) ps.$(OBJ)
all: epstool
.c.$(OBJ):
$(COMP) $(FLAGS) -DUNIX -DEPSTOOL -c $*.c
epstool.$(OBJ): epstool.c epstool.h ps.h
ps.$(OBJ): ps.c epstool.h ps.h
gvceps.$(OBJ): gvceps.c epstool.h ps.h
epstool: $(OBJS)
$(COMP) $(FLAGS) -o epstool $(OBJS)
clean:
-del epstool.$(OBJ)
-del gvceps.$(OBJ)
-del ps.$(OBJ)
veryclean: clean
-del epstool