X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=be17b467a9402e7d32d8caefe6fde3934af66cb2;hp=5c76c7530ceedc40067434d30539a7a90990fe3a;hb=f8b249157652f109467064877561955910f98fc1;hpb=9c864f32b506241d30e1b40fae5bea78f54ec498 diff --git a/Makefile b/Makefile index 5c76c75..be17b46 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,12 @@ DATA_PREFIX = /usr/share/vor PROGRAM_PREFIX = /usr/games/bin -all: vor $(graphics) + +.PHONY: all clean graphics maintainer-clean install uninstall + +all: graphics vor + +graphics: $(graphics) %.o: %.c $(CC) $(cflags) -c -o $@ $< @@ -54,7 +59,10 @@ vor: $(objects) include gfx.mk clean: - rm -f *.o vor $(graphics) + rm -f *.o vor + +maintainer-clean: clean + rm -f $(graphics) install: all if [ ! -d $(DATA_PREFIX) ]; then mkdir $(DATA_PREFIX); fi