Skip to content

Commit

Permalink
Remove TOPCARATDIR from the Makefile
Browse files Browse the repository at this point in the history
Also update Travis CI setup accordingly.
  • Loading branch information
Alexander Konovalov authored and DominikBernhardt committed Nov 25, 2018
1 parent e2c2c68 commit cc4927c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
dist: xenial
language: c

# temporary measure until we will have a proper configure script

compiler:
- clang
- gcc

# temporary hack with sed until we will have a proper configure script
script:
- sed -i 's|TOPCARATDIR=|TOPDIR=/home/travis/build/lbfm-rwth/carat|g' Makefile
- sed -i 's|TOPDIR=/path/to/the/directory/containing/this/makefile|TOPDIR=/home/travis/build/lbfm-rwth/carat|g' Makefile
- make
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# put the top level directory of the Installation here
# ( try "pwd" if in doubt)
#
TOPCARATDIR=
TOPDIR=/path/to/the/directory/containing/this/makefile

#
# normal installations on Linux should work with
Expand Down
3 changes: 1 addition & 2 deletions README.install
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ INSTALLATION:

Just edit the Makefile in the directory you installed CARAT in, and
change the variables
TOPCARATDIR (which is the output of pwd when in the directory this makefile is stored in)
TOPDIR (which is the output of pwd when in the directory this makefile is stored in)
CFLAGS
TOPDIR
according to your needs. Some additional explanations/examples are given
there.
For Mac users only: You need to delete the line "#include <malloc.h>" from include/typedef.h. This will be fixed once there is
Expand Down

0 comments on commit cc4927c

Please sign in to comment.