+.PHONY: all clean maintainer-clean install uninstall
+.PHONY: mkinstalldirs rminstalldirs
+.PHONY: program program-clean install-program uninstall-program
+.PHONY: data data-clean install-data uninstall-data
+
+all: program data
+
+data: $(graphics)
+
+program: vor
+
+%.o: %.c
+ @echo compiling $@ from $<
+ @$(CC) $(cflags) -c -o $@ $<
+
+$(my_objects): config.h
+
+SFont.o: SFont.h
+
+args.o: args.h
+
+dust.o: globals.h dust.h mt.h
+
+file.o: file.h common.h
+
+main.o: args.h common.h dust.h file.h globals.h mt.h rocks.h score.h sprite.h sound.h
+
+mt.o: mt.h
+
+rocks.o: rocks.h common.h file.h globals.h mt.h sprite.h
+
+score.o: score.h common.h file.h
+
+sound.o: sound.h args.h common.h
+
+sprite.o: sprite.h common.h
+
+vor: $(objects)
+ @echo linking $@ from $^
+ @$(CC) $(ldflags) -o $@ $^ $(LIBRARIES)
+
+include gfx.mk
+
+tags: *.c *.h
+ exuberant-ctags *.c *.h /usr/include/SDL/*
+
+clean: program-clean
+ rm -f tags
+
+maintainer-clean: program-clean data-clean
+
+program-clean: