Makefile 494 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
4
# Makefile for Libraries

default: all

Marco Govoni's avatar
Marco Govoni committed
5
all: title json_do
Marco Govoni's avatar
Marco Govoni committed
6
7
8
9
10
11

json_do:
	if test -d Json ; then \
	( cd Json ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
	else $(MAKE) $(MFLAGS) all ; fi ) ; fi

Marco Govoni's avatar
Marco Govoni committed
12
clean: json_undo 
Marco Govoni's avatar
Marco Govoni committed
13
14
15
16
17
18
19

json_undo:
	if test -d Json ; then \
	( cd Json ; if test "$(MAKE)" = "" ; then make clean ; \
	else $(MAKE) clean ; fi ) ; fi

distclean: clean
Marco Govoni's avatar
Marco Govoni committed
20
21
22
23
24
25
26

title :
	@echo "              "
	@echo "##############"
	@echo "## Libraries #"
	@echo "##############"
	@echo "              "