+ifneq ($(hostsys), dos)
+-include $(dep)
+endif
+
+%.odj: %.c
+ $(CC) $(CFLAGS) -o $@ -c $<
+
+%.dep: %.c
+ @echo dep $@
+ @$(CPP) $(CFLAGS) $< -MM -MT $(@:.dep=.odj) >$@
+
+.PHONY: imago
+imago:
+ $(MAKE) -C libs/imago -f Makefile
+
+.PHONY: anim
+anim:
+ $(MAKE) -C libs/anim -f Makefile
+
+.PHONY: cleanlibs
+cleanlibs:
+ $(MAKE) -C libs/imago -f Makefile clean
+ $(MAKE) -C libs/anim -f Makefile clean
+
+.PHONY: clean
+.PHONY: cleandep
+
+ifeq ($(hostsys), dos)
+clean:
+ del src\*.odj
+ del src\dos\*.odj