68 lines
760 B
Text
68 lines
760 B
Text
|
#
|
||
|
# getMCH - SGI version
|
||
|
#
|
||
|
|
||
|
SHELL=/bin/sh
|
||
|
|
||
|
#
|
||
|
# Programs made by this makefile
|
||
|
#
|
||
|
PROGS = makeSCF
|
||
|
|
||
|
#
|
||
|
# SWITCHES - see ted makefile
|
||
|
#
|
||
|
#SWITCHES = -DAUTO_CLIP -DDEF_OUT -DSAVE_EDITS
|
||
|
|
||
|
#
|
||
|
# Where the wild things are
|
||
|
#
|
||
|
SRC = .
|
||
|
TEDSRC = $(SRC)/../ted
|
||
|
|
||
|
#
|
||
|
# Sun
|
||
|
#
|
||
|
CC= cc
|
||
|
CFLAGS= -g -ansi -prototypes $(SWITCHES) -I$(TEDSRC)
|
||
|
LIBFLAGS =
|
||
|
|
||
|
%.o : $(SRC)/%.c
|
||
|
$(CC) $(CFLAGS) -c $<
|
||
|
|
||
|
%.o : $(TEDSRC)/%.c
|
||
|
$(CC) $(CFLAGS) -c $<
|
||
|
|
||
|
#
|
||
|
# Object files
|
||
|
#
|
||
|
OBJS=\
|
||
|
makeSCF.o\
|
||
|
writeSCF.o\
|
||
|
seq.o\
|
||
|
seqIOPlain.o\
|
||
|
seqIOABI.o\
|
||
|
seqIOEdit.o\
|
||
|
seqIOALF.o\
|
||
|
seqIOSCF.o\
|
||
|
seqOutput.o\
|
||
|
opp.o\
|
||
|
fpoint.o\
|
||
|
match.o\
|
||
|
mach-io.o
|
||
|
|
||
|
|
||
|
#
|
||
|
# Linking
|
||
|
#
|
||
|
makeSCF: $(OBJS)
|
||
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(LIBFLAGS)
|
||
|
|
||
|
#
|
||
|
# Special dependencies
|
||
|
#
|
||
|
all: $(PROGS)
|
||
|
|
||
|
clean:
|
||
|
/bin/rm -f $(OBJS) $(PROGS) *~
|