From: nishi Date: Thu, 2 May 2024 16:43:59 +0000 (+0000) Subject: move ifeq X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ff257ee7ad9ef754a8e878549c019afee7a81266;p=serenade.git move ifeq git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@97 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- 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' ' '`