]> Nishi Git Mirror - serenade.git/commitdiff
for sunos
authornishi <nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Sun, 5 May 2024 17:00:01 +0000 (17:00 +0000)
committernishi <nishi@0f02c867-ac3d-714e-8a88-971ba1f6efcf>
Sun, 5 May 2024 17:00:01 +0000 (17:00 +0000)
git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@113 0f02c867-ac3d-714e-8a88-971ba1f6efcf

GNUmakefile
Makefile

index 47386fdd803ae5f8e073d549ca7fd1654bb986e0..da26df0d8d35c2eb5c2cd77cd6a949abb15a1d32 100644 (file)
@@ -8,11 +8,12 @@ GREP = grep
 ifeq ($(shell uname -s),SunOS)
 GREP = ggrep
 CC = gcc
+EXTRA_LIBS = -ltermlib
 endif
 
 CFLAGS = -std=c99 -fPIC -g `./Tool/config cflags $(TARGET)`
 LDFLAGS =
-LIBS = `./Tool/config libs $(TARGET)`
+LIBS = `./Tool/config libs $(TARGET)` $(EXTRA_LIBS)
 EXTRA_OBJS = `./Tool/config objs $(TARGET)`
 SUFFIX =
 SUFFIX_SO = .so
index 17382349cf516fd3f4d45272e54a63ea8cd53c5b..66697ebeb4cb9ecf1a1e1fdcfe13f46a3b7ab7ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
 TARGET = $$(uname -s)
 CPP = cpp
 CC = cc
+
 CFLAGS = -std=c99 -fPIC -g `./Tool/config cflags $(TARGET)`
 LDFLAGS =
 LIBS = `./Tool/config libs $(TARGET)`