Commit f78b9807 authored by Marco Govoni's avatar Marco Govoni
Browse files

Changing path.

parent 6c56aa42
......@@ -17,7 +17,7 @@ json_module.o
#TLDEPS= bindir mods libs pw
#all : title tldeps libjson.a
all : title libjson.a copy
all : title libjson.a
#tldeps:
# test -n "$(TLDEPS)" && ( cd ../.. ; $(MAKE) $(MFLAGS) $(TLDEPS) || exit 1) || :
......@@ -26,9 +26,6 @@ libjson.a : $(JSON_OBJS)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
copy :
- cp libjson.a ../
clean :
- /bin/rm -f *.x *.o *.a *~ *_tmp.f90 *.d *.mod *.i *.L
- /bin/rm -f libjson.a
......
......@@ -9,16 +9,13 @@ json_do:
( cd Json ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: json_undo rmlib
clean: json_undo
json_undo:
if test -d Json ; then \
( cd Json ; if test "$(MAKE)" = "" ; then make clean ; \
else $(MAKE) clean ; fi ) ; fi
rmlib :
/bin/rm -f libjson.a
distclean: clean
title :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment