From 8e79781fe9dbb02d288ef7684d0fb8725951bd98 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Wed, 20 May 2026 17:08:46 +0100 Subject: [PATCH] Don;t generate veersion on every build --- Makefile.unix | 6 +++--- Makefile.w32 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.unix b/Makefile.unix index eeb7949..ff6ed36 100755 --- a/Makefile.unix +++ b/Makefile.unix @@ -8,20 +8,20 @@ CC := gcc CFLAGS := -D_FILE_OFFSET_BITS=64 -O2 -Wall -Werror -Wextra -std=c90 CC_SRC := $(wildcard $(SRCDIR)/*.c) -VERSION := $(shell date '+%Y%m%d') +#VERSION := $(shell date '+%Y%m%d') ifeq ($(OS), Windows_NT) all: scc.exe scc.exe: $(CC_SRC) - $(CC) $(CFLAGS) -DVERSION=$(VERSION) -o $@ $^ + $(CC) $(CFLAGS) -DVERSION="20260520" -o $@ $^ else all: scc scc: $(CC_SRC) - $(CC) $(CFLAGS) -DVERSION=$(VERSION) -o $@ $^ + $(CC) $(CFLAGS) -DVERSION="20260520" -o $@ $^ endif clean: diff --git a/Makefile.w32 b/Makefile.w32 index f584116..3cc84f4 100755 --- a/Makefile.w32 +++ b/Makefile.w32 @@ -13,7 +13,7 @@ all: scc.exe scc.exe: $(CC_SRC) - $(CC) $(CFLAGS) -o $@ $^ + $(CC) $(CFLAGS) -DVERSION="20260520" -o $@ $^ clean: -- 2.34.1