$FreeBSD$ --- makefile.orig Thu Nov 21 10:48:08 2002 +++ makefile Thu May 22 01:12:43 2003 @@ -1,16 +1,16 @@ -FLTK = ../fltk-1.1.0 - OBJECTS = seaview.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o old_file_chooser.o -CFLAGS = -c $(OPT) -I$(FLTK) $(DEBUG) +CFLAGS+= -I $(PREFIX)/include -L $(PREFIX)/lib -CXX = CC +CXX = g++ + +all: seaview seaview : $(OBJECTS) - $(CXX) $(DEBUG) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk -lX11 -lm + $(CXX) $(CFLAGS) -o $@ $(OBJECTS) -lfltk -lX11 -lMesaGL -lXext -lm .SUFFIXES: .cxx .h .o .cxx.o : - $(CXX) $(CFLAGS) $< + $(CXX) -c $(CFLAGS) $<