diff options
Diffstat (limited to 'tools/Makefile')
| -rw-r--r-- | tools/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..ae33902 --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,16 @@ +CC = cc +CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os +LDFLAGS = +PREFIX ?= /usr/local + +all: exofetch + +exofetch: exofetch.c + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) + +clean: + rm -f exofetch + +install: exofetch + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f exofetch $(DESTDIR)$(PREFIX)/bin |
