64 lines
766 B
Text
64 lines
766 B
Text
#
|
|
# getMCH - DEC Ultrix (mips) fork
|
|
#
|
|
|
|
#
|
|
# 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
|
|
INCLUDES = -I/usr/include/mit -I$(TEDSRC)
|
|
#
|
|
# DEC
|
|
#
|
|
CC= c89
|
|
CFLAGS= -g -std -w0 $(SWITCHES) $(INCLUDES)
|
|
|
|
%.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)
|
|
|
|
#
|
|
# Special dependencies
|
|
#
|
|
all: $(PROGS)
|
|
|
|
clean:
|
|
/bin/rm -f $(OBJS) $(PROGS) *~
|