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

Revision 200, 813 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 8, 16-Feb-2000
5#
6# Makefile of directory $SH_SOURCE/foreign
7# K. Stammler, 7-Mar-95
8
9CFLAGS      = $(SH_CCOPTIONS) -fPIC -I.. -DBASECNST=\"basecnst.h\" -Dsparc=1
10CC          = $(SH_COMPILER)
11LD          = $(SH_COMPILER)
12RANLIB          = $(SH_RANLIB)
13LDFLAGS     = -L/usr/local/X11/lib
14LIBS        = -lm -lX
15
16LIB_FRGN    = ${SH_LIB}libfrgn.a
17LIB_FRGN_SRCS   = f2c.c gsedata.c lineparse.c sh_ah.c sh_gse.c sh_gse2.c \
18        sh_len.c sh_neic.c shfrgn.c
19
20#LIB_FRGN_OBJS  = $(LIB_FRGN_SRCS:%.c=%.o)
21LIB_FRGN_OBJS   = $(LIB_FRGN_SRCS:.c=.o)
22
23
24all:
25        @echo $(LIB_FRGN_OBJS); make $(LIB_FRGN)
26
27
28$(LIB_FRGN): $(LIB_FRGN_OBJS)
29        ar r $@ $(LIB_FRGN_OBJS); $(RANLIB) $@
30
31
32clean:
33        @rm $(LIB_FRGN_OBJS) *%
34
35
36depend:
37        makedepend -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LIB_FRGN_SRCS)
38
39
40
41# DO NOT DELETE
42
Note: See TracBrowser for help on using the repository browser.