From 7581eccaa057b2b3264914b36f4461a2ecb26d5c Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Thu, 15 Sep 2022 21:58:05 +0200 Subject: [PATCH] Small Makefile improvement. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 67656d2..69178f6 100644 --- a/Makefile +++ b/Makefile @@ -40,10 +40,11 @@ ifeq ($(STATIC),1) CFLAGS += -static endif +ifeq ($(STRIP),1) + CFLAGS += -s +endif + .PHONY: all all: $(CC) $(CFLAGS) -o $(OUTNAME) crc64.c -ifeq ($(STRIP),1) - strip $(OUTNAME) -endif