mirror of https://github.com/XEphem/XEphem.git
Merge 8b0dc94428 into d288119b8b
This commit is contained in:
commit
f48ad4f5ca
|
|
@ -197,21 +197,23 @@ OBJS = \
|
|||
xephem.o \
|
||||
xmisc.o
|
||||
|
||||
all: libs xephem xephem.1
|
||||
LIBRARIES := libip liblilxml libjpegd libpng libz
|
||||
|
||||
xephem: $(INCS) $(OBJS)
|
||||
all: $(LIBRARIES) xephem xephem.1
|
||||
|
||||
xephem: $(INCS) $(OBJS) $(LIBRARIES)
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
xephem.1: xephem.man
|
||||
nroff -man $? > $@
|
||||
|
||||
libs:
|
||||
cd ../../libastro; make
|
||||
cd ../../libip; make
|
||||
cd ../../libjpegd; make
|
||||
cd ../../liblilxml; make
|
||||
cd ../../libpng; make
|
||||
cd ../../libz; make
|
||||
libs: $(LIBRARIES)
|
||||
|
||||
$(LIBRARIES): libastro
|
||||
$(MAKE) --directory=../../$@
|
||||
|
||||
libastro:
|
||||
$(MAKE) --directory=../../$@
|
||||
|
||||
clean:
|
||||
rm -fr *.o ../../lib*/*.[ao]
|
||||
|
|
|
|||
Loading…
Reference in New Issue