source: trunk/MagicSoft/Simulation/Detector/Starfield/Makefile@ 427

Last change on this file since 427 was 341, checked in by petry, 25 years ago
First version of the Starfield Generator in this repository. Fully functional version using the SKY2000 star catalog.
File size: 8.6 KB
Line 
1##################################################################
2##
3## Starfield Generator Makefile
4##
5## $Id: Makefile,v 1.1 2000-01-21 13:36:36 petry Exp $
6##
7##################################################################
8
9# @T \newpage
10
11# Linux
12
13INCLUDE = ../include-GENERAL
14INCLUDE_COR = ../include-CORSIKA
15
16CXX = g++
17
18INCLUDES = -I${INCLUDE} \
19 -I${INCLUDE_COR}
20
21WARNINGS = -Wall
22
23CXXFLAGS = ${WARNINGS} ${INCLUDES} -ansi
24
25LIBS = -L${RANLIBDIR} -L/usr/local/lib -L/usr/lib -lm
26
27
28#------------------------------------------------------------------------------
29
30.SILENT:
31
32.SUFFIXES: .cxx .o
33
34SRCS = starfield.cxx\
35 star.cxx\
36 photon.cxx\
37 convertcorsika.cxx\
38 rand_un_gen.cxx\
39 parameters.cxx\
40 ${INCLUDE_COR}/COREventHeader.cxx\
41 ${INCLUDE_COR}/CORParticle.cxx\
42 ${INCLUDE_COR}/CORStatfile.cxx
43
44HEADERS = starfield.h\
45 star.hxx\
46 photon.hxx\
47 convertcorsika.h\
48 parameters.h\
49 COREventHeader.hxx\
50 CORParticle.hxx\
51 CORStatfile.hxx\
52 DllImport.h\
53 RConfig.h\
54 Rtypes.h\
55 ranlib.h
56
57OBJS = starfield.o\
58 star.o\
59 photon.o\
60 convertcorsika.o\
61 rand_un_gen.o\
62 parameters.o\
63 ${INCLUDE_COR}/COREventHeader.o\
64 ${INCLUDE_COR}/CORParticle.o\
65 ${INCLUDE_COR}/CORStatfile.o
66
67###########################################################
68
69all: starfield
70
71#If you type 'make depend' this will update the dependencies listed below
72
73depend:
74 @makedepend $(SRCS) -fMakefile 2> /dev/null
75
76starfield: $(OBJS)
77 @echo "Linking..." $(OBJS)
78 $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
79 @echo "done."
80
81.cxx.o:
82 @echo "Compiling " $<
83 $(CXX) $(CXXFLAGS) -c $< -o $@
84
85lclean:
86 @echo "Cleaning..."
87 @rm -f *.o core
88
89clean:
90 @echo "Cleaning..."
91 @rm -f $(OBJS) core
92
93mrproper: clean
94 @echo "Mr.Proper in action . . ."
95 @rm -f $(PROGRAM)
96
97ctags:
98 @echo "Creating CTAGS file . . ."
99 @ctags -txw $(SRCS) $(HEADERS) > CTAGS
100
101etags:
102 @echo "Creating TAGS file . . ."
103 @/usr/local/bin/etags -C $(SRCS) $(HEADERS)
104
105listsrc:
106 @ls -m $(SRCS) $(HEADERS) | sed 's/,//g'
107
108redo: clean all
109
110# @endcode
111
112# DO NOT DELETE THIS LINE -- make depend depends on it.
113
114starfield.o: starfield.h /usr/include/stdlib.h /usr/include/features.h
115starfield.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
116starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
117starfield.o: /usr/include/sys/types.h /usr/include/gnu/types.h
118starfield.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h
119starfield.o: /usr/include/sys/select.h /usr/include/selectbits.h
120starfield.o: /usr/include/alloca.h /usr/include/string.h /usr/include/math.h
121starfield.o: /usr/include/huge_val.h /usr/include/mathcalls.h
122starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
123starfield.o: /usr/include/dirent.h /usr/include/direntry.h
124starfield.o: /usr/include/posix1_lim.h /usr/include/local_lim.h
125starfield.o: /usr/include/linux/limits.h /usr/include/unistd.h
126starfield.o: /usr/include/posix_opt.h /usr/include/confname.h
127starfield.o: convertcorsika.h photon.hxx star.hxx /usr/include/stdio.h
128starfield.o: /usr/include/libio.h /usr/include/_G_config.h
129starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h
130starfield.o: /usr/include/stdio_lim.h parameters.h
131star.o: star.hxx /usr/include/math.h /usr/include/features.h
132star.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
133star.o: /usr/include/huge_val.h /usr/include/mathcalls.h
134star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
135star.o: /usr/include/string.h
136star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
137star.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h
138star.o: /usr/include/gnu/types.h
139star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h
140star.o: /usr/include/stdio_lim.h
141photon.o: photon.hxx /usr/include/math.h /usr/include/features.h
142photon.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
143photon.o: /usr/include/huge_val.h /usr/include/mathcalls.h
144photon.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
145photon.o: /usr/include/stdlib.h
146photon.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
147photon.o: /usr/include/sys/types.h /usr/include/gnu/types.h
148photon.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h
149photon.o: /usr/include/sys/select.h /usr/include/selectbits.h
150photon.o: /usr/include/alloca.h
151convertcorsika.o: convertcorsika.h /usr/include/string.h
152convertcorsika.o: /usr/include/features.h /usr/include/sys/cdefs.h
153convertcorsika.o: /usr/include/gnu/stubs.h
154convertcorsika.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
155convertcorsika.o: photon.hxx /usr/include/math.h /usr/include/huge_val.h
156convertcorsika.o: /usr/include/mathcalls.h
157convertcorsika.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
158convertcorsika.o: /usr/include/stdlib.h /usr/include/sys/types.h
159convertcorsika.o: /usr/include/gnu/types.h /usr/include/time.h
160convertcorsika.o: /usr/include/endian.h /usr/include/bytesex.h
161convertcorsika.o: /usr/include/sys/select.h /usr/include/selectbits.h
162convertcorsika.o: /usr/include/alloca.h
163parameters.o: parameters.h /usr/include/stdio.h /usr/include/libio.h
164parameters.o: /usr/include/features.h /usr/include/sys/cdefs.h
165parameters.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h
166parameters.o: /usr/include/gnu/types.h
167parameters.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
168parameters.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h
169parameters.o: /usr/include/stdio_lim.h
170../include-CORSIKA/COREventHeader.o: ../include-CORSIKA/COREventHeader.hxx
171../include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h
172../include-CORSIKA/COREventHeader.o: /usr/include/features.h
173../include-CORSIKA/COREventHeader.o: /usr/include/sys/cdefs.h
174../include-CORSIKA/COREventHeader.o: /usr/include/gnu/stubs.h
175../include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
176../include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h
177../include-CORSIKA/COREventHeader.o: /usr/include/gnu/types.h
178../include-CORSIKA/COREventHeader.o: /usr/include/time.h
179../include-CORSIKA/COREventHeader.o: /usr/include/endian.h
180../include-CORSIKA/COREventHeader.o: /usr/include/bytesex.h
181../include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h
182../include-CORSIKA/COREventHeader.o: /usr/include/selectbits.h
183../include-CORSIKA/COREventHeader.o: /usr/include/alloca.h
184../include-CORSIKA/COREventHeader.o: /usr/include/math.h
185../include-CORSIKA/COREventHeader.o: /usr/include/huge_val.h
186../include-CORSIKA/COREventHeader.o: /usr/include/mathcalls.h
187../include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
188../include-CORSIKA/CORParticle.o: ../include-CORSIKA/CORParticle.hxx
189../include-CORSIKA/CORParticle.o: /usr/include/stdlib.h
190../include-CORSIKA/CORParticle.o: /usr/include/features.h
191../include-CORSIKA/CORParticle.o: /usr/include/sys/cdefs.h
192../include-CORSIKA/CORParticle.o: /usr/include/gnu/stubs.h
193../include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
194../include-CORSIKA/CORParticle.o: /usr/include/sys/types.h
195../include-CORSIKA/CORParticle.o: /usr/include/gnu/types.h
196../include-CORSIKA/CORParticle.o: /usr/include/time.h /usr/include/endian.h
197../include-CORSIKA/CORParticle.o: /usr/include/bytesex.h
198../include-CORSIKA/CORParticle.o: /usr/include/sys/select.h
199../include-CORSIKA/CORParticle.o: /usr/include/selectbits.h
200../include-CORSIKA/CORParticle.o: /usr/include/alloca.h /usr/include/math.h
201../include-CORSIKA/CORParticle.o: /usr/include/huge_val.h
202../include-CORSIKA/CORParticle.o: /usr/include/mathcalls.h
203../include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
204../include-CORSIKA/CORStatfile.o: ../include-CORSIKA/CORStatfile.hxx
205../include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h
206../include-CORSIKA/CORStatfile.o: /usr/include/features.h
207../include-CORSIKA/CORStatfile.o: /usr/include/sys/cdefs.h
208../include-CORSIKA/CORStatfile.o: /usr/include/gnu/stubs.h
209../include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h
210../include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h
211../include-CORSIKA/CORStatfile.o: /usr/include/gnu/types.h
212../include-CORSIKA/CORStatfile.o: /usr/include/time.h /usr/include/endian.h
213../include-CORSIKA/CORStatfile.o: /usr/include/bytesex.h
214../include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h
215../include-CORSIKA/CORStatfile.o: /usr/include/selectbits.h
216../include-CORSIKA/CORStatfile.o: /usr/include/alloca.h /usr/include/math.h
217../include-CORSIKA/CORStatfile.o: /usr/include/huge_val.h
218../include-CORSIKA/CORStatfile.o: /usr/include/mathcalls.h
219../include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h
Note: See TracBrowser for help on using the repository browser.