Compare commits

...

2 Commits

Author SHA1 Message Date
Mattia Verga 9be354f863
Merge 8b0dc94428 into b6529a3ce3 2024-06-20 19:28:44 +00:00
Mattia Verga 8b0dc94428 Make build parallel safe 2022-10-01 17:05:39 +02:00
1 changed files with 11 additions and 9 deletions

View File

@ -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]