# Do we use X11?
CXXFLAGS += -DX11_SUPPORT
-LDFLAGS += -L/usr/X11R6/lib/
+LDFLAGS += -L/usr/lib/x86_64-linux-gnu/
# Do we use cairo?
CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT
manipulator.o \
approximer.o \
intelligence.o
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -lX11 -o $@ $^
+ $(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -lX11 -o $@
%.so: %.cc misc.o universe.o polygon.o map.o task.o manipulator.o
$(CXX) $(CXXFLAGS) -shared -Wl,-soname,$@ -o $@ $^
cout << "FlatLand, a toy universe for goal-planning experiments." << endl;
if(!task) {
- task = load_task("dummy.so");
+ task = load_task("./dummy.so");
task_degree = 0;
}