Adjust main Makefile now DebugOXP Makefile is gone
This commit is contained in:
parent
7c00f7bdb9
commit
d2498d54df
15
Makefile
15
Makefile
@ -56,12 +56,12 @@ endif
|
||||
.PHONY: debug
|
||||
debug: $(DEPS_DBG)
|
||||
$(MAKE) -f GNUmakefile debug=yes
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
.PHONY: release
|
||||
release: $(DEPS)
|
||||
$(MAKE) -f GNUmakefile debug=no
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
.PHONY: release-deployment
|
||||
release-deployment: $(DEPS)
|
||||
@ -70,18 +70,19 @@ release-deployment: $(DEPS)
|
||||
.PHONY: release-snapshot
|
||||
release-snapshot: $(DEPS)
|
||||
$(MAKE) -f GNUmakefile SNAPSHOT_BUILD=yes VERSION_STRING=$(VER) debug=no
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
# Here are targets using the provided dependencies
|
||||
.PHONY: deps-debug
|
||||
deps-debug: $(DEPS_DBG)
|
||||
$(MAKE) -f GNUmakefile debug=yes use_deps=yes
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
.PHONY: deps-release
|
||||
deps-release: $(DEPS)
|
||||
$(MAKE) -f GNUmakefile debug=no use_deps=yes
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
|
||||
.PHONY: deps-release-deployment
|
||||
deps-release-deployment: $(DEPS)
|
||||
@ -90,7 +91,7 @@ deps-release-deployment: $(DEPS)
|
||||
.PHONY: deps-release-snapshot
|
||||
deps-release-snapshot: $(DEPS)
|
||||
$(MAKE) -f GNUmakefile SNAPSHOT_BUILD=yes VERSION_STRING=$(VER) debug=no use_deps=yes
|
||||
cd DebugOXP && $(MAKE) && cd .. && mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && mv -f DebugOXP/Basic-debug.oxp AddOns/
|
||||
mkdir -p AddOns && rm -rf AddOns/Basic-debug.oxp && cp -rf DebugOXP/Debug.oxp AddOns/Basic-debug.oxp
|
||||
|
||||
.PHONY: LIBJS_DBG
|
||||
LIBJS_DBG:
|
||||
@ -114,7 +115,7 @@ endif
|
||||
clean:
|
||||
$(MAKE) -f GNUmakefile clean
|
||||
$(RM) -rf oolite.app
|
||||
$(RM) -rf AddOns && cd DebugOXP && $(MAKE) clean && cd ..
|
||||
$(RM) -rf AddOns
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
Loading…
x
Reference in New Issue
Block a user