|
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
|
| Rev | Line | |
|---|
| [1457] | 1 | include $(DPCBASEREP)/Include/MakefileUser.h
|
|---|
| 2 |
|
|---|
| 3 | all: libxastro.a
|
|---|
| 4 |
|
|---|
| 5 | clean:
|
|---|
| 6 | rm -f libxastro.a
|
|---|
| 7 | rm -f *.o
|
|---|
| 8 |
|
|---|
| 9 | install:
|
|---|
| [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 |
|
|---|
| 16 | OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c)))
|
|---|
| 17 |
|
|---|
| 18 | libxastro.a : $(OBJASTRO)
|
|---|
| 19 | $(AR) $(ARFLAGS) $@ $(OBJASTRO)
|
|---|
| 20 |
|
|---|
| 21 | %.o: %.c
|
|---|
| 22 | $(COMPILE.c) -o $@ $<
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.