Ignore:
Timestamp:
Jan 22, 2020, 9:46:46 PM (5 years ago)
Author:
dubos
Message:

simple_physics : some Python bindings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/simple_physics/phyparam/Makefile

    r4235 r4236  
    1616all : obj $(OBJECTS) lib/libphyparam.so
    1717
     18py : clean all
     19        bash/extract_cython.sh
     20        cd python ; rm -rf build *.c ; python setup.py build_ext --inplace
     21        cd python ; python -c 'import phyparam as phys ; phys.setup(100.); phys.alloc(30,100) ; phys.coldstart(30, 100.)'
    1822obj :
    1923        @rm -rf obj include lib xml tmp *~ */*~
    2024        @mkdir obj include lib xml tmp
    2125
    22 clean :
     26clean : nice
    2327        @rm -rf obj include lib xml tmp *~ */*~
    2428        @mkdir obj include lib xml tmp
    25         @../bash/concatenate_all_code.sh $(NAMES) > tmp/all_code
    26         @../bash/makedeps.sh tmp/all_code >  Makefile.inc
     29        @bash/concatenate_all_code.sh $(NAMES) > tmp/all_code
     30        @bash/makedeps.sh tmp/all_code >  Makefile.inc
    2731
    2832nice:
    29         ../bash/beautify.sh physics/*.F90
     33        bash/beautify.sh physics/*.F90
    3034
    3135%.so : $(OBJECTS)
Note: See TracChangeset for help on using the changeset viewer.