Changeset 2743 in Sophya for trunk/SophyaExt/XephemAstroLib
- Timestamp:
- May 20, 2005, 9:57:11 AM (20 years ago)
- Location:
- trunk/SophyaExt/XephemAstroLib
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/XephemAstroLib/Makefile
r2551 r2743 1 include $(SOPHYABASEREP)/Include/MakefileUser.h1 include ../BuildMgr/sophyamake.inc 2 2 3 3 all: libxastro.a 4 4 5 5 clean: 6 rm -f libxastro.a 7 rm -f *.o testxephem 8 9 install: 10 if [ ! -d $(EXTINCPATH)/XAstro ] ; then mkdir $(EXTINCPATH)/XAstro ; fi 11 rm -f $(EXTINCPATH)/XAstro/astro.h 12 rm -f $(EXTINCPATH)/XAstro/bdl.h 13 rm -f $(EXTINCPATH)/XAstro/P_.h 14 rm -f $(EXTLIBPATH)/libxastro.a 15 cp *.h $(EXTINCPATH)/XAstro/. 16 cp libxastro.a $(EXTLIBPATH)/. 6 rm -f libxastro.a *.o testxephem 17 7 18 8 OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c))) 19 9 20 10 libxastro.a : $(OBJASTRO) 21 $(AR) $(ARFLAGS) $@ $ (OBJASTRO)11 $(AR) $(ARFLAGS) $@ $? 22 12 23 13 %.o: %.c 24 $(C OMPILE.c) -o $@ $<14 $(CCOMPILE) -o $@ $< 25 15 26 16 testxephem: testxephem.o 27 $( LINK.c) -o $@ $^ -L$(EXTLIBPATH)-lxastro -lc -lm17 $(CLINK) -o $@ $^ -L./ -lxastro -lc -lm
Note:
See TracChangeset
for help on using the changeset viewer.