Skip to content

Commit

Permalink
Remove hardcoded paths in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed May 2, 2024
1 parent 6ed9aaa commit f4984a5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ratemon/runtime/c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ ALL_LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
# If this is not set with an environment variable, then hardcode it.
RM_IFACE ?= eno4

CXX = g++
CXXFLAGS = -g -std=c++20 -Wall -Wextra
BOOST_INCLUDE = /home/ccanel/src/boost_1_85_0/
BOOST_LIB = /home/ccanel/src/boost_1_85_0/stage/lib

APPS = ratemon_main
INTERPS = libratemon_interp
CXX := g++
CXXFLAGS := -g -std=c++20 -Wall -Wextra
SRC_DIR := $(abspath ../../../../)
BOOST_INCLUDE := $(SRC_DIR)/boost_1_85_0/
BOOST_LIB := $(SRC_DIR)/boost_1_85_0/stage/lib

APPS := ratemon_main
INTERPS := libratemon_interp

# Get Clang's default includes on this system. We'll explicitly add these dirs
# to the includes list when compiling with `-target bpf` because otherwise some
Expand Down

0 comments on commit f4984a5

Please sign in to comment.