Commit 57e184ca authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

minor fixes in setuid-runner makefile

parent 0541b0fe
...@@ -4,6 +4,9 @@ CXXFLAGS = -Wall -pedantic -std=c++11 ...@@ -4,6 +4,9 @@ CXXFLAGS = -Wall -pedantic -std=c++11
PYINC := $(shell python3-config --includes) PYINC := $(shell python3-config --includes)
PYLIBS := $(shell python3-config --ldflags) PYLIBS := $(shell python3-config --ldflags)
# You can set this to use rpath for Python libraries for instance
LDFLAGS :=
TARGETS = setuid-runner TARGETS = setuid-runner
SRC = setuid-runner.cpp SRC = setuid-runner.cpp
...@@ -16,7 +19,7 @@ $(OBJ): $(SRC) ...@@ -16,7 +19,7 @@ $(OBJ): $(SRC)
$(CXX) $(PYINC) $(CXXFLAGS) -c $(SRC) $(CXX) $(PYINC) $(CXXFLAGS) -c $(SRC)
setuid-runner: $(OBJ) setuid-runner: $(OBJ)
$(CXX) -o $@ $(OBJ) $(PYLIBS) $(CXX) $(LDFLAGS) -o $@ $(OBJ) $(PYLIBS)
clean: clean:
rm -f *.o $(TARGETS) 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