| Last change
 on this file since 2996 was             2771, checked in by cmv, 20 years ago | 
        
          | 
gestion CXXTEMPFLG   cmv 25/05/2005
 | 
        
          | 
              
Property                 svn:executable
 set to                 * | 
        
          | File size:
            322 bytes | 
      
      
| Line |  | 
|---|
| 1 | include $(SOPHYABASE)/include/sophyamake.inc | 
|---|
| 2 |  | 
|---|
| 3 | all: libxastro.a | 
|---|
| 4 |  | 
|---|
| 5 | clean: | 
|---|
| 6 | rm -f libxastro.a *.o testxephem | 
|---|
| 7 |  | 
|---|
| 8 | OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c))) | 
|---|
| 9 |  | 
|---|
| 10 | libxastro.a : $(OBJASTRO) | 
|---|
| 11 | $(AR) $(ARFLAGS) $@ $? | 
|---|
| 12 |  | 
|---|
| 13 | %.o: %.c | 
|---|
| 14 | $(CCOMPILE) -o $@ $< | 
|---|
| 15 |  | 
|---|
| 16 | testxephem: testxephem.o | 
|---|
| 17 | $(CLINK) -o $@ testxephem.o -L./ -lxastro -lc -lm | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.