diff options
author | Case Duckworth | 2022-07-18 16:39:04 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-18 16:39:04 -0500 |
commit | 8c072c1815172d2a3cf5a5318be7bed0135a0ffc (patch) | |
tree | 4a53d9a4cec038122d5823a6760e5ec5f231fb5e | |
parent | Initial commit (diff) | |
download | nofetch-8c072c1815172d2a3cf5a5318be7bed0135a0ffc.tar.gz nofetch-8c072c1815172d2a3cf5a5318be7bed0135a0ffc.zip |
Add Makefile
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e560de5 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1 @@ | |||
nofetch | |||
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9ad68f6 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | PREFIX = /usr/local/ | ||
2 | |||
3 | nofetch: nofetch.scm | ||
4 | csc $< -o $@ | ||
5 | |||
6 | .PHONY: install uninstall | ||
7 | install: nofetch | ||
8 | install -D $< $(DESTDIR)$(PREFIX)/bin/$< | ||
9 | |||
10 | uninstall: | ||
11 | rm $(DESTDIR)$(PREFIX)/bin/nofetch | ||