diff options
| author | epoch <epoch@hacking.allowed.org> | 2018-12-16 19:28:39 -0600 | 
|---|---|---|
| committer | epoch <epoch@hacking.allowed.org> | 2018-12-16 19:28:39 -0600 | 
| commit | f479b438e6119e83c95b19aaeccd61a8e5eded27 (patch) | |
| tree | 726a3916d9128f6c970f49431ef8b27140e49747 /Makefile | |
| parent | 13dd5a6d313a2086647751286ca8315a12c804f1 (diff) | |
| download | hackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.tar.gz hackvr-f479b438e6119e83c95b19aaeccd61a8e5eded27.zip | |
fuck if I know. lots of shit. moved files.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 | 
1 files changed, 8 insertions, 7 deletions
| @@ -2,21 +2,22 @@ all: hackvr hackvr_term  .PHONY: hackvr hackvr_term clean install uninstall all +ifeq ($(PREFIX),) +$(error the PREFIX variable is NOT set) +endif +  hackvr:  	$(MAKE) -C src all -hackvr_term: -	$(MAKE) -C hackvr_term all -  clean:  	$(MAKE) -C src clean -	$(MAKE) -C hackvr_term clean  install: hackvr hackvr_term  	$(MAKE) -C src install -	$(MAKE) -C hackvr_term install -	install -D font/font.hackvr $(PREFIX)/share/hackvr/font.hackvr +	cp -r bin/ $(PREFIX)/ +	cp -r share/hackvr/ $(PREFIX)/share/  uninstall: +	## we'll assume PREFIX is set to the hackvr we want to uninstall  	$(MAKE) -C src uninstall -	$(MAKE) -C hackvr_term uninstall +	rm -rf $(PREFIX)/share/hackvr | 
