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

Revision 1920, 1.3 KB checked in by friberg, 15 years ago (diff)

added in Unix makefile

  • 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.1  2005/07/25 20:16:19  friberg
11#     added in Unix makefile
12#
13#
14#
15
16CFLAGS = ${GLOBALFLAGS}
17LIBS = -lm -lpthread
18
19B = $(EW_HOME)/$(EW_VERSION)/bin
20L = $(EW_HOME)/$(EW_VERSION)/lib
21
22BINARIES = file2ew.o $L/chron3.o $L/logit.o $L/kom.o $L/getutil.o \
23           $L/sleep_ew.o $L/swap.o $L/time_ew.o $L/transport.o $L/dirops_ew.o $L/k2evt2ew.o
24
25SMBIN = $(BINARIES) $L/rw_strongmotionII.o
26
27
28all:
29        make -f makefile.ux file2ew
30        make -f makefile.ux sm_csmip2ew
31        make -f makefile.ux sm_nsmp2ew
32        make -f makefile.ux sm_redi2ew
33        make -f makefile.ux sm_terra2ew
34        make -f makefile.ux sm_tremor2ew
35
36file2ew: $(BINARIES) raw2ew.o
37        cc -o $B/file2ew $(BINARIES) raw2ew.o  $(LIBS)
38
39sm_csmip2ew: $(SMBIN) csmip2ew.o
40        cc -o $B/sm_csmip2ew $(SMBIN) csmip2ew.o  $(LIBS)
41
42sm_nsmp2ew: $(SMBIN) nsmp2ew.o
43        cc -o $B/sm_nsmp2ew $(SMBIN) nsmp2ew.o $(LIBS)
44
45sm_redi2ew: $(SMBIN) redi2ew.o
46        cc -o $B/sm_redi2ew $(SMBIN) redi2ew.o  $(LIBS)
47
48sm_terra2ew: $(SMBIN) terra2ew.o
49        cc -o $B/sm_terra2ew $(SMBIN) terra2ew.o  $(LIBS)
50
51sm_tremor2ew: $(SMBIN) tremor2ew.o
52        cc -o $B/sm_tremor2ew $(SMBIN) tremor2ew.o  $(LIBS)
53
54
55
56
57# Clean-up rules
58clean:
59        rm -f a.out core *.o *.obj *% *~
60
61clean_bin:
62        rm -f $B/sm_*2ew* $B/file2ew*
Note: See TracBrowser for help on using the repository browser.