From: nishi Date: Sun, 5 May 2024 17:00:01 +0000 (+0000) Subject: for sunos X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=944e231bb377f7de8a594dee73870f044f00a8f1;p=serenade.git for sunos git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@113 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- 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)`