projects
/
serenade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb078aa
)
move ifeq
author
nishi
<nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Thu, 2 May 2024 16:43:59 +0000
(16:43 +0000)
committer
nishi
<nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Thu, 2 May 2024 16:43:59 +0000
(16:43 +0000)
git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@97
0f02c867
-ac3d-714e-8a88-
971ba1f6efcf
GNUmakefile
patch
|
blob
|
history
diff --git
a/GNUmakefile
b/GNUmakefile
index 33136767e02c68f647b16623bc854c56ea7f1236..e6fbb528ecb3c58088520ad7ef370c6a052f251c 100644
(file)
--- 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' ' '`