source: trunk/MagicSoft/Simulation/Detector/Starfield/Makefile.osf@ 5109

Last change on this file since 5109 was 1708, checked in by blanch, 22 years ago
*** empty log message ***
File size: 5.7 KB
Line 
1##################################################################
2##
3## Starfield Generator Makefile
4##
5## $Id: Makefile.osf,v 1.1 2003-01-14 13:48:38 blanch Exp $
6##
7##################################################################
8
9# @T \newpage
10
11INCLUDE = ../include-GENERAL
12INCLUDE_COR = ../include-CORSIKA
13
14CXX = cxx
15
16INCLUDES = -I${INCLUDE} \
17 -I${INCLUDE_COR} \
18 -I/usr/include/cxx
19
20WARNINGS = -Wall
21
22CXXFLAGS = ${WARNINGS} ${INCLUDES}
23
24LIBS = -L${ROOTSYS}/lib -L/usr/local/lib -L/usr/lib -lm
25
26
27#------------------------------------------------------------------------------
28
29.SILENT:
30
31.SUFFIXES: .cxx .o
32
33SRCS = starfield.cxx\
34 star.cxx\
35 photon.cxx\
36 convertcorsika.cxx\
37 rand_un_gen.cxx\
38 parameters.cxx\
39 ${INCLUDE_COR}/COREventHeader.cxx\
40 ${INCLUDE_COR}/CORParticle.cxx\
41 ${INCLUDE_COR}/CORStatfile.cxx
42
43HEADERS = starfield.h\
44 star.hxx\
45 photon.hxx\
46 convertcorsika.h\
47 parameters.h\
48 COREventHeader.hxx\
49 CORParticle.hxx\
50 CORStatfile.hxx\
51 DllImport.h\
52 RConfig.h\
53 Rtypes.h\
54 ranlib.h
55
56OBJS = starfield.o\
57 star.o\
58 photon.o\
59 convertcorsika.o\
60 rand_un_gen.o\
61 parameters.o\
62 ${INCLUDE_COR}/COREventHeader.o\
63 ${INCLUDE_COR}/CORParticle.o\
64 ${INCLUDE_COR}/CORStatfile.o
65
66###########################################################
67
68all: starfield
69
70#If you type 'make depend' this will update the dependencies listed below
71
72depend:
73 @makedepend $(SRCS) -fMakefile 2> /dev/null
74
75starfield: $(OBJS)
76 @echo "Linking..." $(OBJS)
77 $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
78 @echo "done."
79
80.cxx.o:
81 @echo "Compiling " $<
82 $(CXX) $(CXXFLAGS) -c $< -o $@
83
84lclean:
85 @echo "Cleaning..."
86 @rm -f *.o core
87
88clean:
89 @echo "Cleaning..."
90 @rm -f $(OBJS) core
91
92mrproper: clean
93 @echo "Mr.Proper in action . . ."
94 @rm -f $(PROGRAM)
95
96ctags:
97 @echo "Creating CTAGS file . . ."
98 @ctags -txw $(SRCS) $(HEADERS) > CTAGS
99
100etags:
101 @echo "Creating TAGS file . . ."
102 @/usr/local/bin/etags -C $(SRCS) $(HEADERS)
103
104listsrc:
105 @ls -m $(SRCS) $(HEADERS) | sed 's/,//g'
106
107redo: clean all
108
109# @endcode
110
111# DO NOT DELETE THIS LINE -- make depend depends on it.
112
113starfield.o: starfield.h /usr/include/stdlib.h /usr/include/standards.h
114starfield.o: /usr/include/getopt.h /usr/include/sys/types.h
115starfield.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
116starfield.o: /usr/include/stdio.h /usr/include/sys/seek.h
117starfield.o: /usr/include/va_list.h /usr/include/sys/limits.h
118starfield.o: /usr/include/sys/machine/machlimits.h
119starfield.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
120starfield.o: /usr/include/sys/rt_limits.h /usr/include/string.h
121starfield.o: /usr/include/strings.h /usr/include/math.h /usr/include/dirent.h
122starfield.o: /usr/include/unistd.h /usr/include/sys/access.h convertcorsika.h
123starfield.o: photon.hxx star.hxx parameters.h
124star.o: star.hxx /usr/include/math.h /usr/include/standards.h
125star.o: /usr/include/stdlib.h /usr/include/getopt.h /usr/include/sys/types.h
126star.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
127star.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
128star.o: /usr/include/sys/seek.h /usr/include/va_list.h
129star.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
130star.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
131star.o: /usr/include/sys/rt_limits.h
132photon.o: photon.hxx /usr/include/math.h /usr/include/standards.h
133photon.o: /usr/include/stdlib.h /usr/include/getopt.h
134photon.o: /usr/include/sys/types.h /usr/include/mach/machine/vm_types.h
135photon.o: /usr/include/sys/select.h
136convertcorsika.o: convertcorsika.h /usr/include/string.h
137convertcorsika.o: /usr/include/standards.h /usr/include/sys/types.h
138convertcorsika.o: /usr/include/mach/machine/vm_types.h
139convertcorsika.o: /usr/include/sys/select.h /usr/include/strings.h photon.hxx
140convertcorsika.o: /usr/include/math.h /usr/include/stdlib.h
141convertcorsika.o: /usr/include/getopt.h
142parameters.o: parameters.h /usr/include/stdio.h /usr/include/standards.h
143parameters.o: /usr/include/sys/seek.h /usr/include/va_list.h
144parameters.o: /usr/include/sys/types.h /usr/include/mach/machine/vm_types.h
145parameters.o: /usr/include/sys/select.h /usr/include/getopt.h
146parameters.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
147parameters.o: /usr/include/sys/syslimits.h
148parameters.o: /usr/include/sys/machine/machtime.h
149parameters.o: /usr/include/sys/rt_limits.h
150../include-CORSIKA/COREventHeader.o: ../include-CORSIKA/COREventHeader.hxx
151../include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h
152../include-CORSIKA/COREventHeader.o: /usr/include/standards.h
153../include-CORSIKA/COREventHeader.o: /usr/include/getopt.h
154../include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h
155../include-CORSIKA/COREventHeader.o: /usr/include/mach/machine/vm_types.h
156../include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h
157../include-CORSIKA/COREventHeader.o: /usr/include/math.h
158../include-CORSIKA/CORParticle.o: ../include-CORSIKA/CORParticle.hxx
159../include-CORSIKA/CORParticle.o: /usr/include/stdlib.h
160../include-CORSIKA/CORParticle.o: /usr/include/standards.h
161../include-CORSIKA/CORParticle.o: /usr/include/getopt.h
162../include-CORSIKA/CORParticle.o: /usr/include/sys/types.h
163../include-CORSIKA/CORParticle.o: /usr/include/mach/machine/vm_types.h
164../include-CORSIKA/CORParticle.o: /usr/include/sys/select.h
165../include-CORSIKA/CORParticle.o: /usr/include/math.h
166../include-CORSIKA/CORStatfile.o: ../include-CORSIKA/CORStatfile.hxx
167../include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h
168../include-CORSIKA/CORStatfile.o: /usr/include/standards.h
169../include-CORSIKA/CORStatfile.o: /usr/include/getopt.h
170../include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h
171../include-CORSIKA/CORStatfile.o: /usr/include/mach/machine/vm_types.h
172../include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h
173../include-CORSIKA/CORStatfile.o: /usr/include/math.h
Note: See TracBrowser for help on using the repository browser.