Skip to content

Commit

Permalink
Updated Makefile to use MAKE command from parent (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
therishidesai authored Dec 4, 2020
1 parent 6ea99d3 commit 2214713
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
nproc=$(shell python3 -c 'import multiprocessing; print( max(multiprocessing.cpu_count() - 1, 1))')
#nproc=$(shell python3 -c 'import multiprocessing; print( max(multiprocessing.cpu_count() - 1, 1))')

CXX := clang++-10
CC := clang-10

.PHONY: plugin.dbg.so
plugin.dbg.so: build/Debug/Makefile
make -C build/Debug "-j$(nproc)" && \
${MAKE} -C build/Debug && \
rm -f $@ && \
ln -s build/Debug/libplugin.so plugin.dbg.so && \
true

.PHONY: plugin.opt.so
plugin.opt.so: build/Release/Makefile
make -C build/Release "-j$(nproc)" && \
${MAKE} -C build/Release && \
rm -f $@ && \
ln -s build/Release/libplugin.so plugin.opt.so && \
true
Expand Down

0 comments on commit 2214713

Please sign in to comment.