Makefile 600 Bytes
Newer Older
Marco Govoni's avatar
Marco Govoni committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile for Forpy

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

# location of needed modules
MODFLAGS= $(MOD_FLAG).
IFLAGS=

FORPY_OBJS = \
forpy_mod.o

#TLDEPS= bindir mods libs pw

#all : title tldeps libjson.a
all : title libforpy.a

#tldeps:
#	test -n "$(TLDEPS)" && ( cd ../.. ; $(MAKE) $(MFLAGS) $(TLDEPS) || exit 1) || :

libforpy.a : $(FORPY_OBJS)
	$(AR) $(ARFLAGS) $@ $?
	$(RANLIB) $@

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

title :
	@echo "              "
	@echo "##############"
	@echo "### Forpy ####"
	@echo "##############"
	@echo "              "