chore: update build system to clean core object files and add cross-compilation support for Windows
This commit is contained in:
parent
3a11f43fdc
commit
652e3b7f6a
3 changed files with 16 additions and 7 deletions
12
Makefile
12
Makefile
|
|
@ -15,8 +15,8 @@ endif
|
|||
# Build all plugins in the PLUGINS list
|
||||
plugins: dgl
|
||||
@for plugin in $(PLUGINS); do \
|
||||
echo "Building $$plugin..."; \
|
||||
$(MAKE) all -C plugins/$$plugin || exit 1; \
|
||||
echo "Building $$plugin..."; \
|
||||
$(MAKE) all -C plugins/$$plugin || exit 1; \
|
||||
done
|
||||
|
||||
# --------------------------------------------------------------
|
||||
|
|
@ -24,11 +24,11 @@ plugins: dgl
|
|||
clean:
|
||||
$(MAKE) clean -C dpf/dgl
|
||||
@for plugin in $(PLUGINS); do \
|
||||
echo "Cleaning $$plugin..."; \
|
||||
$(MAKE) clean -C plugins/$$plugin || true; \
|
||||
echo "Cleaning $$plugin..."; \
|
||||
$(MAKE) clean -C plugins/$$plugin || true; \
|
||||
done
|
||||
rm -rf bin build
|
||||
rm -rf bin build core/*.o core/*.obj
|
||||
|
||||
# --------------------------------------------------------------
|
||||
|
||||
.PHONY: dgl plugins clean
|
||||
.PHONY: dgl plugins clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue