Commit c0ab3186 authored by Kirk Webb's avatar Kirk Webb
Browse files

Minor fixups so that the compilation will succeed. These were my fault

since I had Jonathon check them in prior to testing them.
parent a46d48d6
......@@ -12,6 +12,10 @@ UNIFIED = @UNIFIED_BOSS_AND_OPS@
include $(OBJDIR)/Makeconf
CXXFLAGS += -I/usr/local/include/metis
LDFLAGS += -L/usr/local/lib
LIBEXEC_STUFF = ipassign
IPASSIGN_OBJECTS = Graph.o ipassign.o
......@@ -34,13 +38,9 @@ install: all libexec-install
libexec-install: $(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_STUFF))
ipassign: $(IPASSIGN_OBJECTS) $(IPASSIGN_HEADERS)
$(CC) $(CFLAGS) $(IPASSIGN_OBJECTS) -lm -lmetis -o ipassign
Graph.o: Graph.cc $(IPASSIGN_HEADERS)
$(CC) $(LDFLAGS) Graph.cc -o Graph.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(IPASSIGN_OBJECTS) -lm -lmetis -o ipassign
ipassign.o: ipassign.cc $(IPASSIGN_HEADERS)
$(CC) $(LDFLAGS) ipassign.cc -o ipassign.o
$(IPASSIGN_OBJECTS): $(IPASSIGN_HEADERS)
post-install:
chmod 775 $(INSTALL_LIBEXECDIR)
......
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