home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
som30tk.zip
/
som30os2.zip
/
include
/
gen_make.efc
< prev
next >
Wrap
Text File
|
1996-12-24
|
2KB
|
66 lines
:template
# @(#) somc/gen_make.efc 2.5 6/10/96 16:32:38 [12/24/96 07:39:06]
#
# COMPONENT_NAME: some
#
# ORIGINS: 27
#
#
# 10H9767, 10H9769 (C) COPYRIGHT International Business Machines Corp. 1992,1994
# All Rights Reserved
# Licensed Materials - Property of IBM
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# Makefile for: emit<classSourceFileStem> [<timeStamp>]
# Author: SOMObjects Emitter Framework
# We set SOMBASE to /usr/lpp/som by default, if your installation is
# different and som has been installed elsewhere, then change the SOMBASE
# variable.
# SOMBASE = /usr/lpp/som
# To ensure that all other Makefiles generated by the newemit program have
# this information then alter the template file in
# $(SOMBASE)/include/gen_make.efw to reflect this difference.
DLLDEST = $(SOMBASE)/lib
EFWDEST = $(SOMBASE)/include
INCLUDEPATH = -I$(SOMBASE)/include
LIBDIRPATH = -L$(SOMBASE)/lib
SRCS = emit<classSourceFileStem>.c <classSourceFileStem>.c <classSourceFileStem>.efw <classSourceFileStem>.idl
OBJS = emit<classSourceFileStem>.o <classSourceFileStem>.o
TARGET = emit<classSourceFileStem>.dll
CLEANFILES = <classSourceFileStem>.h
SCFLAGS = -D__PRIVATE__ -sh:ih -m noaddstar
CC = cc
CFLAGS =
LINKER = ld
LDFLAGS = -bM:SRE -T512 -H512
LIBLIST = -lsomtk
.SUFFIXES: .c .ih .idl .o
.c.o:
$(CC) -I. $(INCLUDEPATH) $(CFLAGS) -c $\<
.idl.ih:
sc $(SCFLAGS) $\<
$(TARGET): $(OBJS)
$(LINKER) -o $@ -e emitSL $(OBJS) $(LDFLAGS)\\
-lc $(LIBDIRPATH) $(LIBLIST)
clean:
rm -f *.o core *.ih $(TARGET) $(CLEANFILES)
emit<classSourceFileStem>.o: emit<classSourceFileStem>.c <classSourceFileStem>.ih
<classSourceFileStem>.o: <classSourceFileStem>.c <classSourceFileStem>.ih
<classSourceFileStem>.ih: <classSourceFileStem>.idl