mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 14:10:39 +01:00
lo.mk: Next effort into the same direction as the previous commits
This commit is contained in:
parent
c73eaa3015
commit
2785226e36
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ clean: clean.lo
|
||||||
clean.lo: profclean
|
clean.lo: profclean
|
||||||
rm -f $(filter-out $(CPP_PREFIX)%.cpp,$(wildcard *.o *.cpp *.so *.done *.dll))
|
rm -f $(filter-out $(CPP_PREFIX)%.cpp,$(wildcard *.o *.cpp *.so *.done *.dll))
|
||||||
|
|
||||||
$(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o
|
$(SO_PREFIX)%.so $(SO_PREFIX)%.dll: %.o $(LOADABLE_OBJS_O)
|
||||||
$(CPP) -shared $^ $(LDFLAGS) $(wildcard $(TOOLS_DIR)/$(CPP_PREFIX)$*.o) -o $@
|
$(CPP) $< $(filter $(CPP_PREFIX)$*%, $(LOADABLE_OBJS_O)) -shared $(LDFLAGS) -o $@
|
||||||
|
|
||||||
%.cpp: $(TOOLS_DIR)/$(CPP_PREFIX)%.h
|
%.cpp: $(TOOLS_DIR)/$(CPP_PREFIX)%.h
|
||||||
echo -e "#include \"$<\"\n$(LOADABLE_OBJ_HOOK)($(CPP_PREFIX)$*);\n" > $@
|
echo -e "#include \"$<\"\n$(LOADABLE_OBJ_HOOK)($(CPP_PREFIX)$*);\n" > $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue