aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2024-07-14 09:35:18 +0200
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2024-07-14 09:35:18 +0200
commit7c246ef7ed1a8c6e1c416052ad0cd7c83f126f72 (patch)
treeb44c250a2e7bd18f0495a99e0b8ebe7a1421e86b
parent003e1b084f81c0eab8c35e26b0a2519f55388009 (diff)
downloadsimple-notification-daemon-7c246ef7ed1a8c6e1c416052ad0cd7c83f126f72.tar.gz
simple-notification-daemon-7c246ef7ed1a8c6e1c416052ad0cd7c83f126f72.zip
Strip binaries, don't build with debug symbols
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e77241b..0bd95f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
GCC := gcc
CFLAGS_DBUS := $(shell pkg-config --cflags --libs dbus-1)
-CFLAGS = -g -Wall -O ${CFLAGS_DBUS}
+CFLAGS = -Wall -O ${CFLAGS_DBUS}
DEST =
@@ -14,9 +14,11 @@ o_files := $(patsubst %.c,%.o,$(wildcard *.c))
snotifd: ${o_files}
${GCC} -o $@ $@.o snotif.o ${CFLAGS}
+ strip snotifd
snotifc: ${o_files}
${GCC} -o $@ $@.o snotif.o ${CFLAGS} -lncursesw
+ strip snotifc
install: snotifc snotifd
install snotifd ${HOME}/bin/snotifd