source: trunk/MagicSoft/Simulation/Corsika/GuiSimone/Makefile@ 8266

Last change on this file since 8266 was 429, checked in by harald, 24 years ago
The former version was not running on alpha. On the event distribution tab the presentation of the values for the event was creating a crash. This crash was not really understood, but neverthe less some changes on that tab were mad and now it is running on alpha osf without a crash. hopefully.....
File size: 5.9 KB
Line 
1##################################################################
2#
3# makefile
4#
5# @file makefile
6# @title Simulation of the camera and trigger logic
7# @author J C Gonz\'alez
8# @email gonzalez@mppmu.mpg.de
9# @date Fri Mar 12 11:51:11 MET 1999
10#
11#_______________________________________________________________
12#
13# Created: Fri Mar 12 11:51:11 MET 1999
14# Author: Jose Carlos Gonzalez
15# Purpose: Makefile for the compilation of the camera program
16# Notes:
17#
18#---------------------------------------------------------------
19#
20# $RCSfile: Makefile,v $
21# $Revision: 1.6 $
22# $Author: harald $
23# $Date: 2000-08-18 07:25:26 $
24#
25##################################################################
26# @maintitle
27
28# @code
29
30INCLUDEMK = config.mk.${OSTYPE}
31include ${INCLUDEMK}
32
33# @endcode
34
35# @code
36
37# common flags
38INCLUDES = -I${INCLUDE} \
39 -I${INCLUDE_COR} \
40 -I${INCLUDE_ROOT} \
41 -I${INCLUDE_SIMO} \
42 -I/usr/include -I/usr/include/g++
43
44RANLIB = -L${RANLIBDIR} -lranlib
45
46# what is needed for ROOT is declared in config.mk file
47
48
49# special flags
50
51osf_FORLIBS = -lUfor -lfor -lutil -lots -lm
52linux_FORLIBS = -lm
53generic_FORLIBS = -lm
54
55FORLIBS = ${${SYSTEM}_FORLIBS}
56
57# compilation and linking flags
58
59CXXFLAGS = -D__${SYSTEM}__ ${INCLUDES} ${OPTIM} ${DEBUG}
60CFLAGS = ${CXXFLAGS}
61FFLAGS = ${CXXFLAGS}
62LIBS = ${RANLIB} ${ROOTLIBS} ${ROOTGLIBS} ${GLIBS} ${FORLIBS}
63#LIBS = ${CERNLIB} ${RANLIB} ${FORLIBS}
64
65#------------------------------------------------------------------------------
66
67#.SILENT:
68
69.SUFFIXES: .c .cxx .C .c++ .h .hxx .H .h++ .o .so .f
70
71SRCS = \
72 ${INCLUDE_COR}/COREventHeader.cxx \
73 ${INCLUDE_COR}/CORParticle.cxx \
74 ${INCLUDE_COR}/CORStatfile.cxx \
75 MainFrameSimone.cxx \
76 simone.cxx
77
78HEADERS = \
79 COREventHeader.hxx \
80 CORParticle.hxx \
81 CORStatfile.hxx \
82 MainFrameSimone.hxx \
83 simone.h
84
85OBJS = \
86 ${INCLUDE_COR}/COREventHeader.o \
87 ${INCLUDE_COR}/CORParticle.o \
88 ${INCLUDE_COR}/CORStatfile.o \
89 MainFrameSimone.o \
90 simone.o
91
92PROGRAM=guisimone
93
94############################################################
95
96all: ${PROGRAM}
97
98depend:
99 @makedepend $(SRCS) -fMakefile 2> /dev/null
100
101doc: reflector-doc
102
103reflector-doc:
104 @echo "Generating documentation for camera . . . "
105 $(DOCUM) -latex -o reflector.tex \
106 reflector.cxx reflector.h \
107 readparam.cxx readparam.h \
108 atm.cxx atm.h
109 latex "\nonstopmode\input{reflector.tex}" && \
110 makeindex reflector && \
111 latex "\nonstopmode\input{reflector.tex}" && \
112 latex "\nonstopmode\input{reflector.tex}"
113 @echo "Files reflector.tex and reflector.dvi generated."
114
115rate:
116 @echo "Rating documentation inside code . . . "
117 $(RATE) \
118 reflector.cxx reflector.h \
119 readparam.cxx readparam.h \
120 atm.cxx atm.h
121
122${PROGRAM}: $(OBJS)
123 @echo "Linking..." $@
124 $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@
125 @echo "done."
126
127.cxx.o:
128 @echo "Compiling " $<
129 $(CXX) $(CXXFLAGS) -c $< -o $@
130
131.c.o:
132 @echo "Compiling " $<
133 $(CC) $(CFLAGS) -c $< -o $@
134
135.f.o:
136 @echo "Compiling " $<
137 $(F77) $(FFLAGS) -c $< -o $@
138
139lclean:
140 @echo "Cleanning..."
141 @rm -f *.o core
142
143clean:
144 @echo "Cleanning..."
145 @rm -f $(OBJS) core
146
147mrproper: clean
148 @echo "Mr.Proper in action . . ."
149 @rm -f $(PROGRAM)
150
151ctags:
152 @echo "Creating CTAGS file . . ."
153 @ctags -txw $(SRCS) $(HEADERS) > CTAGS
154
155etags:
156 @echo "Creating TAGS file . . ."
157 @etags -C $(SRCS) $(HEADERS)
158
159listsrc:
160 @ls -m $(SRCS) $(HEADERS) | sed 's/,//g'
161
162redo: clean all
163
164# @endcode
165
166# DO NOT DELETE THIS LINE -- make depend depends on it.
167
168../../Detector/include-CORSIKA/COREventHeader.o: ../../Detector/include-CORSIKA/COREventHeader.hxx
169../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h
170../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/standards.h
171../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/getopt.h
172../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h
173../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/mach/machine/vm_types.h
174../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h
175../../Detector/include-CORSIKA/COREventHeader.o: /usr/include/math.h
176../../Detector/include-CORSIKA/CORParticle.o: ../../Detector/include-CORSIKA/CORParticle.hxx
177../../Detector/include-CORSIKA/CORParticle.o: /usr/include/stdlib.h
178../../Detector/include-CORSIKA/CORParticle.o: /usr/include/standards.h
179../../Detector/include-CORSIKA/CORParticle.o: /usr/include/getopt.h
180../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/types.h
181../../Detector/include-CORSIKA/CORParticle.o: /usr/include/mach/machine/vm_types.h
182../../Detector/include-CORSIKA/CORParticle.o: /usr/include/sys/select.h
183../../Detector/include-CORSIKA/CORParticle.o: /usr/include/math.h
184../../Detector/include-CORSIKA/CORStatfile.o: ../../Detector/include-CORSIKA/CORStatfile.hxx
185../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h
186../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/standards.h
187../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/getopt.h
188../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h
189../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/mach/machine/vm_types.h
190../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h
191../../Detector/include-CORSIKA/CORStatfile.o: /usr/include/math.h
192MainFrameSimone.o: MainFrameSimone.hxx
193MainFrameSimone.o: ../../Detector/include-CORSIKA/COREventHeader.hxx
194MainFrameSimone.o: /usr/include/stdlib.h /usr/include/standards.h
195MainFrameSimone.o: /usr/include/getopt.h /usr/include/sys/types.h
196MainFrameSimone.o: /usr/include/mach/machine/vm_types.h
197MainFrameSimone.o: /usr/include/sys/select.h /usr/include/math.h
198MainFrameSimone.o: ../../Detector/include-CORSIKA/CORParticle.hxx
199simone.o: /usr/include/stdlib.h /usr/include/standards.h
200simone.o: /usr/include/getopt.h /usr/include/sys/types.h
201simone.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
202simone.o: MainFrameSimone.hxx
203simone.o: ../../Detector/include-CORSIKA/COREventHeader.hxx
204simone.o: /usr/include/math.h ../../Detector/include-CORSIKA/CORParticle.hxx
Note: See TracBrowser for help on using the repository browser.