LDFLAGS = -L/usr/X11R6/lib/ -lz -ldl
+# Do we use cairo?
+CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT
+LDFLAGS += -lcairo
+
TASK_SRC = dummy.cc move_square.cc hit_shape.cc
TASK_OBJ = $(TASK_SRC:.cc=.task)
$(CC) -M *.cc > Makefile.depend
clean:
- \rm main *.o *.task Makefile.depend
+ \rm -f main *.o *.task Makefile.depend
-include Makefile.depend