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

Revision 364, 813 bytes checked in by marcus, 12 years ago (diff)

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

RevLine 
[16]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
[200]9CFLAGS      = $(SH_CCOPTIONS) -fPIC -I.. -DBASECNST=\"basecnst.h\" -Dsparc=1
[16]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:
[364]37        gccmakedep -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LIB_FRGN_SRCS)
[16]38
39
40
41# DO NOT DELETE
42
Note: See TracBrowser for help on using the repository browser.