Skip to content

Commit

Permalink
makefiles a
Browse files Browse the repository at this point in the history
  • Loading branch information
jeshi96 committed Mar 11, 2020
1 parent bac33ae commit 562b1a2
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
*.swp

*.o
*.dSYM
*.DS_Store

experimental
cplib.sh

# bazel generated files
/bazel-*
bazel-*
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# git root directory
ROOTDIR = $(strip $(shell git rev-parse --show-cdup))

include $(ROOTDIR)makefile.variables

ALL= DensestSubgraph

include $(ROOTDIR)benchmarks/makefile.benchmarks
8 changes: 8 additions & 0 deletions benchmarks/ApproximateDensestSubgraph/GreedyCharikar/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# git root directory
ROOTDIR = $(strip $(shell git rev-parse --show-cdup))

include $(ROOTDIR)makefile.variables

ALL= DensestSubgraph

include $(ROOTDIR)benchmarks/makefile.benchmarks
8 changes: 8 additions & 0 deletions benchmarks/ApproximateSetCover/MANISBPT11/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# git root directory
ROOTDIR = $(strip $(shell git rev-parse --show-cdup))

include $(ROOTDIR)makefile.variables

ALL= ApproximateSetCover

include $(ROOTDIR)benchmarks/makefile.benchmarks
5 changes: 4 additions & 1 deletion benchmarks/CliqueCounting/makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include ../../makefile.variables
# git root directory
ROOTDIR = $(strip $(shell git rev-parse --show-cdup))

include $(ROOTDIR)makefile.variables

ALL= Clique

Expand Down
3 changes: 0 additions & 3 deletions makefile.variables
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,3 @@ else # default is homegrown
CC = g++
PFLAGS = $(HGFLAGS)
endif

# git root directory
ROOTDIR = $(strip $(shell git rev-parse --show-cdup))

0 comments on commit 562b1a2

Please sign in to comment.