Makefile 561 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
4
5
# Makefile for Json

include ../../../make.inc

# location of needed modules
6
MODFLAGS = $(MOD_FLAG).
Marco Govoni's avatar
Marco Govoni committed
7
8
9
10
11
12
13

JSON_OBJS = \
json_kinds.o \
json_parameters.o \
json_string_utilities.o \
json_value_module.o \
json_file_module.o \
14
json_module.o
Marco Govoni's avatar
Marco Govoni committed
15

Marco Govoni's avatar
Marco Govoni committed
16
all : title libjson.a
Marco Govoni's avatar
Marco Govoni committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

libjson.a : $(JSON_OBJS)
	$(AR) $(ARFLAGS) $@ $?
	$(RANLIB) $@

clean :
	- /bin/rm -f *.x *.o *.a *~ *_tmp.f90 *.d *.mod *.i *.L
	- /bin/rm -f libjson.a

title :
	@echo "              "
	@echo "##############"
	@echo "### Json  ####"
	@echo "##############"
	@echo "              "

33
include make.depend