LDFLAGS += -lcairo
-all: flatland.so TAGS
+all: flatland_generator.so TAGS
TAGS: *.cc *.h
etags *.cc *.h
-flatland.so: flatland.o misc.o \
- universe.o \
- polygon.o \
+flatland_generator.so: \
+ sequence_generator.o misc.o \
+ polygon.o universe.o \
canvas.o canvas_cairo.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -fPIC -o $@ $^
-test: test.c flatland.so
- $(CC) flatland.so -o test test.c
-
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend