X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=Makefile;h=a3c3847e8f2b9215b7ecb41aed4330206a7f26c5;hp=c7f69414e2489b6c38a283751be4a23586056f0c;hb=3b94094992bdbe85a4ac824e22df09b2a7362c27;hpb=8d9f69072204deab2486967d710477d4d2949754 diff --git a/Makefile b/Makefile index c7f6941..a3c3847 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ rocks := $(rocks:%=data/rock%.png) graphics := data/ship.png data/icon.png data/life.png data/font.png $(rocks) INSTALL := install -INSTALL_PROGRAM := $(INSTALL) -o games -g games +INSTALL_PROGRAM := $(INSTALL) $(shell sh -c 'test "$$UID" "=" "0" && echo "-o games -g games"') INSTALL_DATA := $(INSTALL) -m 644 @@ -51,6 +51,8 @@ INSTALL_DATA := $(INSTALL) -m 644 .PHONY: program program-clean install-program uninstall-program .PHONY: data data-clean install-data uninstall-data +.INTERMEDIATE: font_guts font_guts.pov + all: program data data: $(graphics)