| Last change
 on this file since 2105 was             1465, checked in by cmv, 25 years ago | 
        
          | 
petits bugs cmv 11/4/01
 | 
        
          | 
              
Property                 svn:executable
 set to                 * | 
        
          | File size:
            499 bytes | 
      
      
| Line |  | 
|---|
| 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: | 
|---|
| 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 |  | 
|---|
| 17 | OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c))) | 
|---|
| 18 |  | 
|---|
| 19 | libxastro.a : $(OBJASTRO) | 
|---|
| 20 | $(AR) $(ARFLAGS) $@ $(OBJASTRO) | 
|---|
| 21 |  | 
|---|
| 22 | %.o: %.c | 
|---|
| 23 | $(COMPILE.c) -o $@ $< | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.