fixed compilation: pikotools is in src subdirectory now

This commit is contained in:
Tomasz Sowa 2021-05-27 12:07:13 +02:00
parent 9da05dfb4f
commit 5aa215c334
1 changed files with 2 additions and 2 deletions

View File

@ -19,11 +19,11 @@ $(libname): $(o)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) -I$(GLOBAL_WORKING_DIR)/pikotools $<
$(CXX) -c $(CXXFLAGS) -I$(GLOBAL_WORKING_DIR)/pikotools/src $<
depend:
makedepend -Y. -I$(global_relative_working_dir)/pikotools -f- *.cpp > Makefile.dep
makedepend -Y. -I$(global_relative_working_dir)/pikotools/src -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep