87 lines
1.4 KiB
Plaintext
87 lines
1.4 KiB
Plaintext
#
|
|
# Makefile for getMCH - Alpha version
|
|
#
|
|
|
|
#
|
|
#Turning on the AUTO_CLIP switch allows ted to automatically
|
|
#select a left (using the -enzyme option or the .enzyme in the
|
|
#Xted file) and right cutoff on your sequence (using 2 out of
|
|
#5 N's)
|
|
#
|
|
# Turning on the SAVE_EDITS switch allows the user to maintain
|
|
# copies of their edits, i.e. when you open up ted on a file
|
|
# that you have already edited, the old edits show up in the
|
|
# ted edit window. The user may also call up any of their
|
|
# past editing sessions.
|
|
#
|
|
#Turning on the DEF_OUT switch makes
|
|
# trace_name.seq the default output file name
|
|
#
|
|
#SWITCHES = -DAUTO_CLIP -DDEF_OUT -DSAVE_EDITS
|
|
|
|
#
|
|
# Programs made by this makefile
|
|
#
|
|
PROGS = getMCH trace2seq
|
|
all: $(PROGS)
|
|
#
|
|
# Where the wild things are
|
|
#
|
|
SRC = .
|
|
TEDSRC = $(SRC)/../ted
|
|
INCLUDES = -I$(SRC) -I$(TEDSRC)
|
|
|
|
#
|
|
# Compiler - debug on
|
|
#
|
|
CC= cc
|
|
CFLAGS= -g $(SWITCHES) $(INCLUDES)
|
|
LD= cc
|
|
LDFLAGS= -g
|
|
LIBFLAGS =
|
|
|
|
|
|
#
|
|
# Object files
|
|
#
|
|
OBJS=\
|
|
getMCH.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
|
|
#
|
|
trace2seq getMCH: $(OBJS)
|
|
$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(LIBFLAGS)
|
|
|
|
#
|
|
# Files requiring simple C compilation (thing.c -> thing.o)
|
|
#
|
|
%.o : %.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
%.o : $(SRC)/%.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
%.o : $(TEDSRC)/%.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|
|
#
|
|
# Special dependencies
|
|
#
|
|
clean:
|
|
rm -f $(PROGS) $(OBJS) *~ *.aux *.log *.bbl *.blg *.dvi *.ps
|
|
|
|
all: $(PROGS)
|
|
|