source: trunk/src/data_exchange/file2ew/makefile.ux @ 3186

Revision 3186, 1.5 KB checked in by paulf, 12 years ago (diff)

cflags fixed for linux

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2#
3#   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
4#   CHECKED IT OUT USING THE COMMAND CHECKOUT.
5#
6#    $Id$
7#
8#    Revision history:
9#     $Log$
10#     Revision 1.2  2007/12/16 14:50:31  paulf
11#     cflags fixed for linux
12#
13#     Revision 1.1  2005/07/25 20:16:19  friberg
14#     added in Unix makefile
15#
16#
17#
18
19CFLAGS = ${GLOBALFLAGS}
20LIBS = -lm -lpthread
21
22B = $(EW_HOME)/$(EW_VERSION)/bin
23L = $(EW_HOME)/$(EW_VERSION)/lib
24
25BINARIES = file2ew.o $L/chron3.o $L/logit.o $L/kom.o $L/getutil.o \
26           $L/sleep_ew.o $L/swap.o $L/time_ew.o $L/transport.o $L/dirops_ew.o $L/k2evt2ew.o
27
28SMBIN = $(BINARIES) $L/rw_strongmotionII.o
29
30
31all:
32        make -f makefile.ux file2ew
33        make -f makefile.ux sm_csmip2ew
34        make -f makefile.ux sm_nsmp2ew
35        make -f makefile.ux sm_redi2ew
36        make -f makefile.ux sm_terra2ew
37        make -f makefile.ux sm_tremor2ew
38
39file2ew: $(BINARIES) raw2ew.o
40        $(CC) $(CFLAGS) -o $B/file2ew $(BINARIES) raw2ew.o  $(LIBS)
41
42sm_csmip2ew: $(SMBIN) csmip2ew.o
43        $(CC) $(CFLAGS) -o $B/sm_csmip2ew $(SMBIN) csmip2ew.o  $(LIBS)
44
45sm_nsmp2ew: $(SMBIN) nsmp2ew.o
46        $(CC) $(CFLAGS) -o $B/sm_nsmp2ew $(SMBIN) nsmp2ew.o $(LIBS)
47
48sm_redi2ew: $(SMBIN) redi2ew.o
49        $(CC) $(CFLAGS) -o $B/sm_redi2ew $(SMBIN) redi2ew.o  $(LIBS)
50
51sm_terra2ew: $(SMBIN) terra2ew.o
52        $(CC) $(CFLAGS) -o $B/sm_terra2ew $(SMBIN) terra2ew.o  $(LIBS)
53
54sm_tremor2ew: $(SMBIN) tremor2ew.o
55        $(CC) $(CFLAGS) -o $B/sm_tremor2ew $(SMBIN) tremor2ew.o  $(LIBS)
56
57
58
59
60# Clean-up rules
61clean:
62        rm -f a.out core *.o *.obj *% *~
63
64clean_bin:
65        rm -f $B/sm_*2ew* $B/file2ew*
Note: See TracBrowser for help on using the repository browser.