################################################################## ## ## Starfield Generator Makefile ## ## $Id: Makefile,v 1.1 2000-01-21 13:36:36 petry Exp $ ## ################################################################## # @T \newpage # Linux INCLUDE = ../include-GENERAL INCLUDE_COR = ../include-CORSIKA CXX = g++ INCLUDES = -I${INCLUDE} \ -I${INCLUDE_COR} WARNINGS = -Wall CXXFLAGS = ${WARNINGS} ${INCLUDES} -ansi LIBS = -L${RANLIBDIR} -L/usr/local/lib -L/usr/lib -lm #------------------------------------------------------------------------------ .SILENT: .SUFFIXES: .cxx .o SRCS = starfield.cxx\ star.cxx\ photon.cxx\ convertcorsika.cxx\ rand_un_gen.cxx\ parameters.cxx\ ${INCLUDE_COR}/COREventHeader.cxx\ ${INCLUDE_COR}/CORParticle.cxx\ ${INCLUDE_COR}/CORStatfile.cxx HEADERS = starfield.h\ star.hxx\ photon.hxx\ convertcorsika.h\ parameters.h\ COREventHeader.hxx\ CORParticle.hxx\ CORStatfile.hxx\ DllImport.h\ RConfig.h\ Rtypes.h\ ranlib.h OBJS = starfield.o\ star.o\ photon.o\ convertcorsika.o\ rand_un_gen.o\ parameters.o\ ${INCLUDE_COR}/COREventHeader.o\ ${INCLUDE_COR}/CORParticle.o\ ${INCLUDE_COR}/CORStatfile.o ########################################################### all: starfield #If you type 'make depend' this will update the dependencies listed below depend: @makedepend $(SRCS) -fMakefile 2> /dev/null starfield: $(OBJS) @echo "Linking..." $(OBJS) $(CXX) $(CXXFLAGS) $(OBJS) $(LIBS) -o $@ @echo "done." .cxx.o: @echo "Compiling " $< $(CXX) $(CXXFLAGS) -c $< -o $@ lclean: @echo "Cleaning..." @rm -f *.o core clean: @echo "Cleaning..." @rm -f $(OBJS) core mrproper: clean @echo "Mr.Proper in action . . ." @rm -f $(PROGRAM) ctags: @echo "Creating CTAGS file . . ." @ctags -txw $(SRCS) $(HEADERS) > CTAGS etags: @echo "Creating TAGS file . . ." @/usr/local/bin/etags -C $(SRCS) $(HEADERS) listsrc: @ls -m $(SRCS) $(HEADERS) | sed 's/,//g' redo: clean all # @endcode # DO NOT DELETE THIS LINE -- make depend depends on it. starfield.o: starfield.h /usr/include/stdlib.h /usr/include/features.h starfield.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h starfield.o: /usr/include/sys/types.h /usr/include/gnu/types.h starfield.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h starfield.o: /usr/include/sys/select.h /usr/include/selectbits.h starfield.o: /usr/include/alloca.h /usr/include/string.h /usr/include/math.h starfield.o: /usr/include/huge_val.h /usr/include/mathcalls.h starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h starfield.o: /usr/include/dirent.h /usr/include/direntry.h starfield.o: /usr/include/posix1_lim.h /usr/include/local_lim.h starfield.o: /usr/include/linux/limits.h /usr/include/unistd.h starfield.o: /usr/include/posix_opt.h /usr/include/confname.h starfield.o: convertcorsika.h photon.hxx star.hxx /usr/include/stdio.h starfield.o: /usr/include/libio.h /usr/include/_G_config.h starfield.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h starfield.o: /usr/include/stdio_lim.h parameters.h star.o: star.hxx /usr/include/math.h /usr/include/features.h star.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h star.o: /usr/include/huge_val.h /usr/include/mathcalls.h star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h star.o: /usr/include/string.h star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h star.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h star.o: /usr/include/gnu/types.h star.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h star.o: /usr/include/stdio_lim.h photon.o: photon.hxx /usr/include/math.h /usr/include/features.h photon.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h photon.o: /usr/include/huge_val.h /usr/include/mathcalls.h photon.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h photon.o: /usr/include/stdlib.h photon.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h photon.o: /usr/include/sys/types.h /usr/include/gnu/types.h photon.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h photon.o: /usr/include/sys/select.h /usr/include/selectbits.h photon.o: /usr/include/alloca.h convertcorsika.o: convertcorsika.h /usr/include/string.h convertcorsika.o: /usr/include/features.h /usr/include/sys/cdefs.h convertcorsika.o: /usr/include/gnu/stubs.h convertcorsika.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h convertcorsika.o: photon.hxx /usr/include/math.h /usr/include/huge_val.h convertcorsika.o: /usr/include/mathcalls.h convertcorsika.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h convertcorsika.o: /usr/include/stdlib.h /usr/include/sys/types.h convertcorsika.o: /usr/include/gnu/types.h /usr/include/time.h convertcorsika.o: /usr/include/endian.h /usr/include/bytesex.h convertcorsika.o: /usr/include/sys/select.h /usr/include/selectbits.h convertcorsika.o: /usr/include/alloca.h parameters.o: parameters.h /usr/include/stdio.h /usr/include/libio.h parameters.o: /usr/include/features.h /usr/include/sys/cdefs.h parameters.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h parameters.o: /usr/include/gnu/types.h parameters.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h parameters.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stdarg.h parameters.o: /usr/include/stdio_lim.h ../include-CORSIKA/COREventHeader.o: ../include-CORSIKA/COREventHeader.hxx ../include-CORSIKA/COREventHeader.o: /usr/include/stdlib.h ../include-CORSIKA/COREventHeader.o: /usr/include/features.h ../include-CORSIKA/COREventHeader.o: /usr/include/sys/cdefs.h ../include-CORSIKA/COREventHeader.o: /usr/include/gnu/stubs.h ../include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h ../include-CORSIKA/COREventHeader.o: /usr/include/sys/types.h ../include-CORSIKA/COREventHeader.o: /usr/include/gnu/types.h ../include-CORSIKA/COREventHeader.o: /usr/include/time.h ../include-CORSIKA/COREventHeader.o: /usr/include/endian.h ../include-CORSIKA/COREventHeader.o: /usr/include/bytesex.h ../include-CORSIKA/COREventHeader.o: /usr/include/sys/select.h ../include-CORSIKA/COREventHeader.o: /usr/include/selectbits.h ../include-CORSIKA/COREventHeader.o: /usr/include/alloca.h ../include-CORSIKA/COREventHeader.o: /usr/include/math.h ../include-CORSIKA/COREventHeader.o: /usr/include/huge_val.h ../include-CORSIKA/COREventHeader.o: /usr/include/mathcalls.h ../include-CORSIKA/COREventHeader.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h ../include-CORSIKA/CORParticle.o: ../include-CORSIKA/CORParticle.hxx ../include-CORSIKA/CORParticle.o: /usr/include/stdlib.h ../include-CORSIKA/CORParticle.o: /usr/include/features.h ../include-CORSIKA/CORParticle.o: /usr/include/sys/cdefs.h ../include-CORSIKA/CORParticle.o: /usr/include/gnu/stubs.h ../include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h ../include-CORSIKA/CORParticle.o: /usr/include/sys/types.h ../include-CORSIKA/CORParticle.o: /usr/include/gnu/types.h ../include-CORSIKA/CORParticle.o: /usr/include/time.h /usr/include/endian.h ../include-CORSIKA/CORParticle.o: /usr/include/bytesex.h ../include-CORSIKA/CORParticle.o: /usr/include/sys/select.h ../include-CORSIKA/CORParticle.o: /usr/include/selectbits.h ../include-CORSIKA/CORParticle.o: /usr/include/alloca.h /usr/include/math.h ../include-CORSIKA/CORParticle.o: /usr/include/huge_val.h ../include-CORSIKA/CORParticle.o: /usr/include/mathcalls.h ../include-CORSIKA/CORParticle.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h ../include-CORSIKA/CORStatfile.o: ../include-CORSIKA/CORStatfile.hxx ../include-CORSIKA/CORStatfile.o: /usr/include/stdlib.h ../include-CORSIKA/CORStatfile.o: /usr/include/features.h ../include-CORSIKA/CORStatfile.o: /usr/include/sys/cdefs.h ../include-CORSIKA/CORStatfile.o: /usr/include/gnu/stubs.h ../include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/stddef.h ../include-CORSIKA/CORStatfile.o: /usr/include/sys/types.h ../include-CORSIKA/CORStatfile.o: /usr/include/gnu/types.h ../include-CORSIKA/CORStatfile.o: /usr/include/time.h /usr/include/endian.h ../include-CORSIKA/CORStatfile.o: /usr/include/bytesex.h ../include-CORSIKA/CORStatfile.o: /usr/include/sys/select.h ../include-CORSIKA/CORStatfile.o: /usr/include/selectbits.h ../include-CORSIKA/CORStatfile.o: /usr/include/alloca.h /usr/include/math.h ../include-CORSIKA/CORStatfile.o: /usr/include/huge_val.h ../include-CORSIKA/CORStatfile.o: /usr/include/mathcalls.h ../include-CORSIKA/CORStatfile.o: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/float.h