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

Last change on this file since 1462 was 1461, checked in by cmv, 25 years ago

ajout mkdir pour include cmv+rz 10/4/2001

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