Skip to content

Commit

Permalink
Removing LD_LIBRARY_PATH and INCLUDEPATH in favor of CPT_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
rappoccio committed Mar 24, 2016
1 parent 1aaaa90 commit 0486252
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Lecture13/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: scattering wheatstone
Expand Down
2 changes: 1 addition & 1 deletion Lecture14/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: co2_polyfit bvp_example
Expand Down
2 changes: 1 addition & 1 deletion Lecture15/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: triatomic matrixmult
Expand Down
2 changes: 1 addition & 1 deletion Lecture17/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: higgs minimize

Expand Down
2 changes: 1 addition & 1 deletion Lecture18/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: na2cl2

Expand Down
2 changes: 1 addition & 1 deletion Lecture20/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: balle pendul

Expand Down
2 changes: 1 addition & 1 deletion Lecture21/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: pendul_nonlin

Expand Down
2 changes: 1 addition & 1 deletion Lecture22/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: rcp3body planar3body kepler

Expand Down
2 changes: 1 addition & 1 deletion Lecture24/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: shoot relax infwell

Expand Down
2 changes: 1 addition & 1 deletion Lecture25/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
CFLAGS=-c -Wall
LDFLAGS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LDFLAGS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt

all: kronig_penney schroedinger

Expand Down
2 changes: 1 addition & 1 deletion Lecture26/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: poisson_fft poisson
Expand Down
2 changes: 1 addition & 1 deletion Lecture27/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: poisson_mg
Expand Down
2 changes: 1 addition & 1 deletion Lecture28/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: wavepacket_fft
Expand Down
2 changes: 1 addition & 1 deletion Lecture29/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: advection burgers
Expand Down
2 changes: 1 addition & 1 deletion Lecture30/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: random_test quad rwalk
Expand Down
2 changes: 1 addition & 1 deletion Lecture31/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: metropolis disks
Expand Down
2 changes: 1 addition & 1 deletion Lecture32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CC=g++
# Hey!, I am comment number 2. I want to say that CFLAGS will be the
# options I'll pass to the compiler.
LIBS=-I$(INCLUDEPATH) -L$(LD_LIBRARY_PATH) -lcpt
LIBS=-I$(CPT_PATH) -L$(CPT_PATH) -lcpt


all: ising
Expand Down
3 changes: 1 addition & 2 deletions setup.csh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env tcsh

setenv LD_LIBRARY_PATH $PWD/cpt
setenv INCLUDEPATH $PWD/cpt
setenv CPT_PATH $PWD/cpt
setenv PYTHONPATH $PWD/cpt_python
setenv PATH $PWD/cpt:$PATH
3 changes: 1 addition & 2 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env bash

export LD_LIBRARY_PATH=$PWD/cpt
export INCLUDEPATH=$PWD/cpt
export CPT_PATH=$PWD/cpt
export PYTHONPATH=$PWD/cpt_python
export PATH=$PWD/cpt:$PATH

0 comments on commit 0486252

Please sign in to comment.