source: SH_SHM/trunk/source/newgraph/Makefile @ 341

Revision 341, 904 bytes checked in by marcus, 8 years ago (diff)

r180 | walther | 2011-03-09 16:27:03 +0100 (Mi, 09 Mär 2011) | 3 lines

Merging most of the changes from marcus' branch. For full details please see
http://www.seismic-handler.org/portal/log/SH_SHM/branches/marcus?revs=101-106,123-171

RevLine 
[16]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\"
[200]10CFLAGS      = $(SH_CCOPTIONS) -fPIC -I$(SH_SOURCE) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\"
[16]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
[341]18LOCAL_SRCS      =       graphch.c memch.c memfile.c psch.c xwch.c
[16]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        makedepend -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LOCAL_SRCS)
35
36
37# DO NOT DELETE
38
Note: See TracBrowser for help on using the repository browser.