diff options
author | s-over-4 | 2023-06-12 21:06:08 -0400 |
---|---|---|
committer | s-over-4 | 2023-06-12 21:06:08 -0400 |
commit | 363742d74864f0883fd8ee081f6ab2ba3ea71ac0 (patch) | |
tree | a847c345daf8402db6464a59d0cb6d9c37602137 /Makefile | |
parent | cc1ddbdc819653d6c54cfef818e7ecd4e732797b (diff) |
make
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,10 +13,10 @@ $(name): $(objects) install: make - cp ./$(name) $(XDG_DATA_HOME)/bin/$(name) + [ $(XDG_DATA_HOME) ] && cp ./$(name) $(XDG_DATA_HOME)/bin/$(name) || cp ./$(name) /usr/local/bin/$(name) uninstall: - rm -f $(XDG_DATA_HOME)/bin/$(name) + [ $(XDG_DATA_HOME) ] && rm -f $(XDG_DATA_HOME)/bin/$(name) || rm -f /usr/local/bin/$(name) clean: rm -f ./$(name) ./src/*.o @@ -26,3 +26,5 @@ me: a sandwich: @exit + +.PHONY: install uninstall clean me a sandwich |