From 944e231bb377f7de8a594dee73870f044f00a8f1 Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 5 May 2024 17:00:01 +0000 Subject: [PATCH] for sunos git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@113 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- GNUmakefile | 3 ++- Makefile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 47386fd..da26df0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 diff --git a/Makefile b/Makefile index 1738234..66697eb 100644 --- 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)` -- 2.43.0