sol_2x.mak
来自「IBM Lotus C++ API 7.0a for IBM Lotus Not」· MAK 代码 · 共 52 行
MAK
52 行
#
# makefile for Notes API sample program extman
# Solaris 2 SPARC Edition
#
#
# set TARGET to the name of the executable to create
TARGET = libextpsw.so
# set SOURCES to the list of C source files in this program
SOURCES = extpwd.c
# set HEADERS to the list of C include files in this program
HEADERS =
# set OBJECTS to the list of object files that must be linked
OBJECTS = extpwd.o
# CC defines the compiler.
CC = cc
# Set CCOPTS - the compiler options.
CCOPTS = -c -mt -xCC
# You may use -g flag for debugging:
#CCOPTS = -c -mt -g
# set NOTESDIR to specify where to search for the Notes library file
NOTESDIR = $(Notes_ExecDirectory)
# Set LINKOPTS - the linker options passed to CC when linking.
# -o $(TARGET) causes compiler to create target rather than a.out
LINKOPTS = -mt -o $(TARGET) -G
# Notes API header files require UNIX to be defined.
DEFINES = -DUNIX -DSOLARIS
# set INCDIR to specify where to search for include files
INCDIR = $(LOTUS)/notescpp/include
# set LIBS to list all the libraries ld should link with.
LIBS = -lnotes -L/usr/dt/lib -L/usr/openwin/lib
# the executable depends on the objects.
$(TARGET): $(OBJECTS)
$(CC) $(LINKOPTS) $(OBJECTS) -L$(NOTESDIR) $(LIBS)
# the object files depend on the corresponding source files
.c.o:
$(CC) $(CCOPTS) $(DEFINES) -I$(INCDIR) $(SOURCES)
clean :
rm -rf libextpsw.so extpwd.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?