Makefile 533 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 rmlib 
Marco Govoni's avatar
Marco Govoni committed
13
14
15
16
17
18

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

Marco Govoni's avatar
Marco Govoni committed
19
20
21
rmlib : 
	/bin/rm -f libjson.a 

Marco Govoni's avatar
Marco Govoni committed
22
distclean: clean
Marco Govoni's avatar
Marco Govoni committed
23
24
25
26
27
28
29

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