source: SH_SHM/branches/2011.2/source/newgraph/Makefile @ 364

Revision 364, 904 bytes checked in by marcus, 11 years ago (diff)

MERGE: [358/SH_SHM/trunk] and [363/SH_SHM/trunk]

Line 
1# file Makefile
2#      ========
3#
4# version 11, 4-Aug-2000
5#
6# Makefile of directory $SH_SOURCE/newgraph
7# K. Stammler, 7-Mar-95
8
9#CFLAGS      = $(SH_CCOPTIONS) -I$(SH_SOURCE) -I$(SH_UTIL) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\"
10CFLAGS      = $(SH_CCOPTIONS) -fPIC -I$(SH_SOURCE) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\"
11CC          = $(SH_COMPILER)
12LD          = $(SH_COMPILER)
13RANLIB          = $(SH_RANLIB)
14LDFLAGS     = -L/usr/local/X11/lib
15LIBS        = -lsource -lm -lX
16LIB_GRAPH       =       $(SH_LIB)libgraph.a
17
18LOCAL_SRCS      =       graphch.c memch.c memfile.c psch.c xwch.c
19#LOCAL_OBJS     =       $(LOCAL_SRCS:%.c=%.o)
20LOCAL_OBJS      =       $(LOCAL_SRCS:.c=.o)
21
22all:
23        make $(LIB_GRAPH)
24
25$(LIB_GRAPH):   $(LOCAL_OBJS)
26        ar r $@ $(LOCAL_OBJS); $(RANLIB) $@
27
28
29clean:
30        @rm $(LOCAL_OBJS) *%
31
32
33depend:
34        gccmakedep -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LOCAL_SRCS)
35
36
37# DO NOT DELETE
38
Note: See TracBrowser for help on using the repository browser.