Commit de49b70e authored by Edward Vigmond's avatar Edward Vigmond
Browse files

Makefile now creates cc files from fltk files automatically

lack of surface warning removed.
parent 462da57d
......@@ -66,6 +66,9 @@ OBJS = Fl_Gl_Tb_Window.o\
READER_OBJS = DataReader.h asciireader.h FileSeqCGreader.h \
IGBreader.h ThreadedData.h DataAllInMem.h
FLTK_SRC = ClipPlane.cc DataOpacity.cc isosurf.cc Sequence.cc \
colourchoice.cc HiLiteWinInfo.cc plottingwin.cc trimesh.cc
all: $(OBJS)
c++ $(CFLAGS) -o meshalyzer $(OBJS) $(LIBS)
fltk-config --post meshalyzer
......@@ -78,7 +81,10 @@ format:
TBmeshWin.o: TBmeshWin.cc $(READER_OBJS)
c++ -c $(CFLAGS) $(INCLUDES) $<
%.cc: %.fl
fluid -c $<
%.o : %.cc
c++ -c $(CFLAGS) $(INCLUDES) $<
......
......@@ -295,7 +295,7 @@ int Model::add_surface_from_tri( const char *fn )
fname = fn;
fname += "tri.gz";
if ( (in=gzopen( fname.c_str(), "r" )) == NULL ) {
fprintf( stderr, "Could not open surface file\n" );
//fprintf( stderr, "Could not open surface file\n" );
return -1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment