allow parallel building

git.mgm/mediaproxy-ng/2.0
Richard Fuchs 14 years ago
parent 36ce2de3f5
commit 1448625c8f

@ -36,24 +36,24 @@ OBJS= $(SRCS:.c=.o)
all:
ifeq ($(REDIS),yes)
make -C $(LIBREDISDIR) static
$(MAKE) -C $(LIBREDISDIR) static
endif
make mediaproxy-ng
$(MAKE) mediaproxy-ng
no-redis:
make REDIS=no all
$(MAKE) REDIS=no all
debug:
make DBG=yes all
$(MAKE) DBG=yes all
tests:
make aux-test poller-test
$(MAKE) aux-test poller-test
dep: .depend
clean:
rm -f $(OBJS) mediaproxy-ng aux-test poller-test aux-test.o poller-test.o .depend build_time.h core
make -C $(LIBREDISDIR) clean
$(MAKE) -C $(LIBREDISDIR) clean
.depend: $(SRCS) Makefile build_time.h
$(CC) $(CFLAGS) -M $(SRCS) | sed -e 's/:/ .depend:/' > .depend

Loading…
Cancel
Save