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

Last change on this file since 3182 was 432, checked in by harald, 24 years ago
An additional change in starfield.cxx was neccessary to compile the starfield adder on the alpha machines.
File size: 5.7 KB
Line 
1##################################################################
2##
3## Starfield Generator Makefile
4##
5## $Id: Makefile,v 1.3 2000-09-21 10:31:36 harald 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/standards.h
115starfield.o: /usr/include/getopt.h /usr/include/sys/types.h
116starfield.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
117starfield.o: /usr/include/string.h /usr/include/strings.h /usr/include/math.h
118starfield.o: /usr/include/dirent.h /usr/include/unistd.h
119starfield.o: /usr/include/sys/access.h /usr/include/sys/seek.h
120starfield.o: convertcorsika.h photon.hxx star.hxx /usr/include/stdio.h
121starfield.o: /usr/include/va_list.h /usr/include/sys/limits.h
122starfield.o: /usr/include/sys/machine/machlimits.h
123starfield.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
124starfield.o: /usr/include/sys/rt_limits.h parameters.h
125star.o: star.hxx /usr/include/math.h /usr/include/standards.h
126star.o: /usr/include/stdlib.h /usr/include/getopt.h /usr/include/sys/types.h
127star.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
128star.o: /usr/include/string.h /usr/include/strings.h /usr/include/stdio.h
129star.o: /usr/include/sys/seek.h /usr/include/va_list.h
130star.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
131star.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
132star.o: /usr/include/sys/rt_limits.h
133photon.o: photon.hxx /usr/include/math.h /usr/include/standards.h
134photon.o: /usr/include/stdlib.h /usr/include/getopt.h
135photon.o: /usr/include/sys/types.h /usr/include/mach/machine/vm_types.h
136photon.o: /usr/include/sys/select.h
137convertcorsika.o: convertcorsika.h /usr/include/string.h
138convertcorsika.o: /usr/include/standards.h /usr/include/sys/types.h
139convertcorsika.o: /usr/include/mach/machine/vm_types.h
140convertcorsika.o: /usr/include/sys/select.h /usr/include/strings.h photon.hxx
141convertcorsika.o: /usr/include/math.h /usr/include/stdlib.h
142convertcorsika.o: /usr/include/getopt.h
143parameters.o: parameters.h /usr/include/stdio.h /usr/include/standards.h
144parameters.o: /usr/include/sys/seek.h /usr/include/va_list.h
145parameters.o: /usr/include/sys/types.h /usr/include/mach/machine/vm_types.h
146parameters.o: /usr/include/sys/select.h /usr/include/getopt.h
147parameters.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
148parameters.o: /usr/include/sys/syslimits.h
149parameters.o: /usr/include/sys/machine/machtime.h
150parameters.o: /usr/include/sys/rt_limits.h
151../include-CORSIKA/COREventHeader.o: ../include-CORSIKA/COREventHeader.hxx
152../include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h
153../include-CORSIKA/COREventHeader.o: /usr/include/standards.h
154../include-CORSIKA/COREventHeader.o: /usr/include/getopt.h
155../include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h
156../include-CORSIKA/COREventHeader.o: /usr/include/mach/machine/vm_types.h
157../include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h
158../include-CORSIKA/COREventHeader.o: /usr/include/math.h
159../include-CORSIKA/CORParticle.o: ../include-CORSIKA/CORParticle.hxx
160../include-CORSIKA/CORParticle.o: /usr/include/stdlib.h
161../include-CORSIKA/CORParticle.o: /usr/include/standards.h
162../include-CORSIKA/CORParticle.o: /usr/include/getopt.h
163../include-CORSIKA/CORParticle.o: /usr/include/sys/types.h
164../include-CORSIKA/CORParticle.o: /usr/include/mach/machine/vm_types.h
165../include-CORSIKA/CORParticle.o: /usr/include/sys/select.h
166../include-CORSIKA/CORParticle.o: /usr/include/math.h
167../include-CORSIKA/CORStatfile.o: ../include-CORSIKA/CORStatfile.hxx
168../include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h
169../include-CORSIKA/CORStatfile.o: /usr/include/standards.h
170../include-CORSIKA/CORStatfile.o: /usr/include/getopt.h
171../include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h
172../include-CORSIKA/CORStatfile.o: /usr/include/mach/machine/vm_types.h
173../include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h
174../include-CORSIKA/CORStatfile.o: /usr/include/math.h
Note: See TracBrowser for help on using the repository browser.