source: Sophya/trunk/SophyaExt/XephemAstroLib/Makefile@ 2013

Last change on this file since 2013 was 1465, checked in by cmv, 24 years ago

petits bugs cmv 11/4/01

  • Property svn:executable set to *
File size: 499 bytes
Line 
1include $(DPCBASEREP)/Include/MakefileUser.h
2
3all: libxastro.a
4
5clean:
6 rm -f libxastro.a
7 rm -f *.o
8
9install:
10 if [ ! -d $(EXTINCPATH)/XAstro ] ; then mkdir $(EXTINCPATH)/XAstro ; fi
11 rm -f $(EXTINCPATH)/XAstro/astro.h
12 rm -f $(EXTINCPATH)/XAstro/P_.h
13 rm -f $(EXTLIBPATH)/libxastro.a
14 cp *.h $(EXTINCPATH)/XAstro/.
15 cp libxastro.a $(EXTLIBPATH)/.
16
17OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c)))
18
19libxastro.a : $(OBJASTRO)
20 $(AR) $(ARFLAGS) $@ $(OBJASTRO)
21
22%.o: %.c
23 $(COMPILE.c) -o $@ $<
Note: See TracBrowser for help on using the repository browser.