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

Revision 200, 911 bytes checked in by marcus, 9 years ago (diff)

r117 | klaus | 2010-03-29 20:46:24 +0200 (Mo, 29 Mär 2010) | 1 line

added -fPIC to a number of Makfiles

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 hpch.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        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.