Last change
on this file since 2743 was 2743, checked in by cmv, 20 years ago |
suite nouvelle structure cmv 20/05/05
|
-
Property svn:executable
set to
*
|
File size:
312 bytes
|
Rev | Line | |
---|
[2743] | 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 $@ $^ -L./ -lxastro -lc -lm
|
---|
Note:
See
TracBrowser
for help on using the repository browser.