aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorAnthony Wang2021-11-30 18:55:07 +0000
committerGitHub2021-11-30 18:55:07 +0000
commit8ebd28113c6b7a8e2a70cf41fba2735ce0c4f29a (patch)
treee6628375eceed2f9929c1ace1d604dddd532df40 /makefile
parented627fec85dc3f04d1d9e0bdfad3bc894ccfa878 (diff)
parentef2c1793d943c43fa1ebe2aa632270aa308012a2 (diff)
Merge pull request #8 from tahsinkose/conky-support
Provide two new modalities for CLI
Diffstat (limited to 'makefile')
-rwxr-xr-xmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 93b7bf5..282d7ef 100755
--- a/makefile
+++ b/makefile
@@ -22,7 +22,7 @@ build:
$(CC) -Isrc/include `pkg-config --cflags gtk+-3.0` $(BUILD_FILES_GUI) -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -no-pie -Wall $(CFLAGS)
build-cli:
- $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -no-pie -Wall $(CFLAGS)
+ $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -lncurses -no-pie -Wall $(CFLAGS)
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
@@ -52,6 +52,9 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/share/applications/zenmonitor-root.desktop
rm -f $(DESTDIR)/usr/share/polkit-1/actions/org.pkexec.zenmonitor.policy
+uninstall-cli:
+ rm -f $(DESTDIR)$(PREFIX)/bin/zenmonitor-cli
+
all: build build-cli
clean: