Changeset 2763 in Sophya for trunk/SophyaExt/XAstroPack/smakefile
- Timestamp:
- May 24, 2005, 7:19:29 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XAstroPack/smakefile
r2751 r2763 1 1 include $(SOPHYABASE)/include/sophyamake.inc 2 2 3 3 all: $(SOPHYALIBP)libXAstroPack.a 4 5 clean: cleantest 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstxastro.o \ 7 $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 4 5 clean: 6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstmollweide.o $(SOPHYAOBJP)tstxastro.o $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o 8 7 rm -f $(SOPHYALIBP)libXAstroPack.a 9 10 cleantest:11 rm -f *.o tstxastro tstmollweide mollw.data mollw2.data12 13 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o \14 $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o15 $(AR) $(ARFLAGS) $@ $?16 8 17 $(SOPHYAOBJP)mollweide.o: mollweide.cc mollweide.h 9 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o 10 $(AR) $(ARFLAGS) $@ $? 11 touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist 12 13 $(SOPHYAOBJP)mollweide.o: mollweide.cc \ 14 $(SOPHYAINCP)sopnamsp.h \ 15 mollweide.h 18 16 $(CXXCOMPILELIB) -o $@ $< 19 20 $(SOPHYAOBJP)xastropack.o: xastropack.cc xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 17 18 $(SOPHYAOBJP)xastropack.o: xastropack.cc \ 19 $(SOPHYAINCP)sopnamsp.h \ 20 xastropack.h \ 21 $(SOPHYAINCP)machdefs.h \ 22 $(SOPHYAINCP)XAstro/astro.h 23 23 $(CXXCOMPILELIB) -o $@ $< 24 24 25 25 $(SOPHYAOBJP)magfield.o: magfield.c magfield.h 26 26 $(CCOMPILE) -o $@ $< 27 28 #--------------------- 29 tstxastro: tstxastro.o $(SOPHYAOBJP)xastropack.o 30 $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -lxastro -lc -lm 31 32 tstxastro.o: tstxastro.cc 33 $(CXXCOMPILEPROG) -o $@ $< 34 35 #--------------------- 36 tstmollweide: tstmollweide.o $(SOPHYAOBJP)mollweide.o 37 $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -lxastro -lc -lm 38 39 tstmollweide.o: tstmollweide.cc 40 $(CXXCOMPILEPROG) -o $@ $< 27
Note:
See TracChangeset
for help on using the changeset viewer.