Hi
I have downloaded a program that is written in C++ that I would like to
compile into a Win XP executable.
The program contains a Makefile written for Unix/linux/cygwin.
I would like to modify it, if neccessary, so that I can compile it using MS
Visual C++ 6.0.
Here is the code for the Makefile:
//START
CC = /bin/g++ -Winline -Wall -Wno-sign-compare
VIENNA = vienna
COPT = -include Alignment_prefix.h -I$(VIENNA)
LDFLAGS = $(COPT) -L$(VIENNA)
LIBS = -lRNA
SOURCES = main.cpp \
AlignmentManager.cpp \
Alphabet.cpp \
DistanceTable.cpp \
Profile.cpp \
ProfileDistanceTable.cpp \
Sequence.cpp \
Region.cpp \
ViennaLib.cpp
#OBJECTS = vienna/fold.o vienna/RNAstruct.o vienna/fold_vars.h
all: viennalib align_with_log
viennalib:
cd vienna; $(MAKE)
align_with_log:
$(CC) $(SOURCES) -o ../rnaprofile $(LDFLAGS) $(LIBS)
clean:
cd vienna; $(MAKE) clean
//END
I suspect that all I need to do is remove the first line that says, "CC =
/bin/g++ -Winline -Wall -Wno-sign-compare", as Visual C++ already has a
compiler, and should know where it is. How do I get get Visual C++ to use
this Makefile to compile into a Win XP executable?
Any help much appreciated.
Cheers
Sharp Tool