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

Changing path.

parent 6c56aa42
...@@ -17,7 +17,7 @@ json_module.o ...@@ -17,7 +17,7 @@ json_module.o
#TLDEPS= bindir mods libs pw #TLDEPS= bindir mods libs pw
#all : title tldeps libjson.a #all : title tldeps libjson.a
all : title libjson.a copy all : title libjson.a
#tldeps: #tldeps:
# test -n "$(TLDEPS)" && ( cd ../.. ; $(MAKE) $(MFLAGS) $(TLDEPS) || exit 1) || : # test -n "$(TLDEPS)" && ( cd ../.. ; $(MAKE) $(MFLAGS) $(TLDEPS) || exit 1) || :
...@@ -26,9 +26,6 @@ libjson.a : $(JSON_OBJS) ...@@ -26,9 +26,6 @@ libjson.a : $(JSON_OBJS)
$(AR) $(ARFLAGS) $@ $? $(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@ $(RANLIB) $@
copy :
- cp libjson.a ../
clean : clean :
- /bin/rm -f *.x *.o *.a *~ *_tmp.f90 *.d *.mod *.i *.L - /bin/rm -f *.x *.o *.a *~ *_tmp.f90 *.d *.mod *.i *.L
- /bin/rm -f libjson.a - /bin/rm -f libjson.a
......
...@@ -9,16 +9,13 @@ json_do: ...@@ -9,16 +9,13 @@ json_do:
( cd Json ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \ ( cd Json ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: json_undo rmlib clean: json_undo
json_undo: json_undo:
if test -d Json ; then \ if test -d Json ; then \
( cd Json ; if test "$(MAKE)" = "" ; then make clean ; \ ( cd Json ; if test "$(MAKE)" = "" ; then make clean ; \
else $(MAKE) clean ; fi ) ; fi else $(MAKE) clean ; fi ) ; fi
rmlib :
/bin/rm -f libjson.a
distclean: clean distclean: clean
title : 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