Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Created October 12, 2012 13:40
Show Gist options
  • Select an option

  • Save juanpabloaj/3879243 to your computer and use it in GitHub Desktop.

Select an option

Save juanpabloaj/3879243 to your computer and use it in GitHub Desktop.
cosmopmc wget & patch
url=http://www2.iap.fr/users/kilbinge/CosmoPMC
cosmopmc=CosmoPMC_v1.11
patch=patch_pmclib_1.01_1.1
pmclib=pmclib_v1.01
all:
tar xfz $(cosmopmc).tar.gz
tar xfz $(patch).tar.gz
tar xfz $(pmclib).tar.gz
cp $(patch)/maths.c $(pmclib)/pmctools/src
cp $(patch)/maths.h $(pmclib)/pmctools/include
wget:
wget $(url)/$(cosmopmc).tar.gz
wget $(url)/$(patch).tar.gz
wget $(url)/$(pmclib).tar.gz
clean:
rm -r $(cosmopmc) $(patch) $(pmclib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment