From ff257ee7ad9ef754a8e878549c019afee7a81266 Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 2 May 2024 16:43:59 +0000 Subject: [PATCH] move ifeq git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@97 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- GNUmakefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 3313676..e6fbb52 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,12 +1,14 @@ # $Id$ -GREP := grep +CPP = cpp +CC = cc + +GREP = grep ifeq ($(shell uname -s),SunOS) -GREP := ggrep +GREP = ggrep +CC = gcc endif -CPP = cpp -CC = cc CFLAGS = -std=c99 -fPIC -g `$(CPP) -DCFLAGS cmdline | $(GREP) -vE "^\#" | tr '\\n' ' '` LDFLAGS = LIBS = `$(CPP) -DLIBS cmdline | $(GREP) -vE "^\#" | tr '\\n' ' '` -- 2.43.0