Commit 57e184ca authored by akhuziy's avatar akhuziy
Browse files

minor fixes in setuid-runner makefile

parent 0541b0fe
......@@ -4,6 +4,9 @@ CXXFLAGS = -Wall -pedantic -std=c++11
PYINC := $(shell python3-config --includes)
PYLIBS := $(shell python3-config --ldflags)
# You can set this to use rpath for Python libraries for instance
LDFLAGS :=
TARGETS = setuid-runner
SRC = setuid-runner.cpp
......@@ -16,7 +19,7 @@ $(OBJ): $(SRC)
$(CXX) $(PYINC) $(CXXFLAGS) -c $(SRC)
setuid-runner: $(OBJ)
$(CXX) -o $@ $(OBJ) $(PYLIBS)
$(CXX) $(LDFLAGS) -o $@ $(OBJ) $(PYLIBS)
clean:
rm -f *.o $(TARGETS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment