Commit 5108505e authored by Edward Vigmond's avatar Edward Vigmond
Browse files

removed GLUT dependancy in Makefile for mesalyzer

parent 24598566
...@@ -22,7 +22,7 @@ else ...@@ -22,7 +22,7 @@ else
GLUT_LIB = -lglut GLUT_LIB = -lglut
endif endif
COMMON_LIBS = $(GLUT_LIB) $(FLTK_LIBS) -lpng -lpthread -lm -lz $(LIB_HDF5) COMMON_LIBS = $(FLTK_LIBS) -lpng -lpthread -lm -lz $(LIB_HDF5)
LIBS = -L$(HDF5API_ROOT)/lib $(FLTK_LD_FLAGS) $(COMMON_LIBS) LIBS = -L$(HDF5API_ROOT)/lib $(FLTK_LD_FLAGS) $(COMMON_LIBS)
LDFLAGS = -fopenmp LDFLAGS = -fopenmp
...@@ -46,7 +46,7 @@ OS_OBJS=$(filter-out $(OS_files),$(OBJS)) $(OS_files:.o=_os.o) ...@@ -46,7 +46,7 @@ OS_OBJS=$(filter-out $(OS_files),$(OBJS)) $(OS_files:.o=_os.o)
all: meshalyzer all: meshalyzer
meshalyzer: $(LIB_CH5) $(FLTK_SOURCES:.fl=.cc) $(OBJS) $(LIB_CH5) meshalyzer: $(LIB_CH5) $(FLTK_SOURCES:.fl=.cc) $(OBJS) $(LIB_CH5)
$(CXX) $(LDFLAGS) -o meshalyzer $(sort $(OBJS)) $(LIBS) $(CXX) $(LDFLAGS) -o meshalyzer $(sort $(OBJS)) $(GLUT_LIB) $(LIBS)
fltk-config --post meshalyzer fltk-config --post meshalyzer
mesalyzer: $(LIB_CH5) $(FLTK_SOURCES:.fl=.cc) $(OS_OBJS) $(LIB_CH5) mesalyzer: $(LIB_CH5) $(FLTK_SOURCES:.fl=.cc) $(OS_OBJS) $(LIB_CH5)
......
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