From 7c246ef7ed1a8c6e1c416052ad0cd7c83f126f72 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Sun, 14 Jul 2024 09:35:18 +0200 Subject: Strip binaries, don't build with debug symbols --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3