From 0ad3b752a0fae4088c9566f8af915bd5041256c0 Mon Sep 17 00:00:00 2001 From: caes Date: Thu, 12 May 2016 16:22:43 -0400 Subject: [PATCH] Added gitignore and simple build script. Some changes to line list. --- .gitignore | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/build.sh | 6 +++ 2 files changed, 139 insertions(+) create mode 100644 .gitignore create mode 100755 src/build.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e638a3d --- /dev/null +++ b/.gitignore @@ -0,0 +1,133 @@ +# Ignore binaries +bin/ + +# Ignore runs +runs/ + + +# AGN Model Fortfiles + + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# IPython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# dotenv +.env + +# virtualenv +venv/ +ENV/ + +# Spyder project settings +.spyderproject + +# Rope project settings +.ropeproject + + Status API Training Shop Blog About + + diff --git a/src/build.sh b/src/build.sh new file mode 100755 index 0000000..6a12d32 --- /dev/null +++ b/src/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash +mkdir -p ../bin/ +#g++ -c ${1}.cpp `libpng-config --cflags` -I shapelib-1.3.0/ -I png++-0.2.5/ +g++ -c ${1}.cpp `libpng-config --cflags` -I png++-0.2.5/ +g++ -o ../bin/${1} ${1}.o `libpng-config --ldflags` +