source:
Sophya/trunk/SophyaExt/XephemAstroLib/Makefile@
2743
      
      | Last change on this file since 2743 was 2743, checked in by , 20 years ago | |
|---|---|
            
  | 
        |
| File size: 302 bytes | |
| Rev | Line | |
|---|---|---|
| [2743] | 1 | include ../BuildMgr/sophyamake.inc | 
| [1457] | 2 | |
| 3 | all: libxastro.a | |
| 4 | ||
| 5 | clean: | |
| [2743] | 6 | rm -f libxastro.a *.o testxephem | 
| [1457] | 7 | |
| 8 | OBJASTRO := $(addsuffix .o,$(basename $(wildcard *.c))) | |
| 9 | ||
| 10 | libxastro.a : $(OBJASTRO) | |
| [2743] | 11 | $(AR) $(ARFLAGS) $@ $? | 
| [1457] | 12 | |
| 13 | %.o: %.c | |
| [2743] | 14 | $(CCOMPILE) -o $@ $< | 
| [2395] | 15 | |
| 16 | testxephem: testxephem.o | |
| [2743] | 17 | $(CLINK) -o $@ $^ -L./ -lxastro -lc -lm | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    ![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)