summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-10 23:21:16 +0800
committerruki <[email protected]>2020-11-10 23:21:16 +0800
commit85aa5fce76f7dd92dc618a4ae1ef20579b5e5ccd (patch)
tree8f42af12d51aabbef0d246533fb9b9f5dbe0666c
parentde2f381f33922888bed629652df13abd3707ab79 (diff)
improve makefile
-rw-r--r--core/plat/mingw/prefix.mak2
-rw-r--r--makefile3
2 files changed, 4 insertions, 1 deletions
diff --git a/core/plat/mingw/prefix.mak b/core/plat/mingw/prefix.mak
index 2343cb60f..0ad1f2ef0 100644
--- a/core/plat/mingw/prefix.mak
+++ b/core/plat/mingw/prefix.mak
@@ -2,7 +2,7 @@
# prefix & suffix
BIN_PREFIX =
-BIN_SUFFIX = .exe
+BIN_SUFFIX = .b
OBJ_PREFIX =
OBJ_SUFFIX = .obj
diff --git a/makefile b/makefile
index 2c19d5697..1317b2e02 100644
--- a/makefile
+++ b/makefile
@@ -94,6 +94,9 @@ build:
+@$(MAKE) -C core --no-print-directory c
+@$(MAKE) -C core --no-print-directory
+clean:
+ +@$(MAKE) -C core --no-print-directory c
+
install:
@echo installing to $(destdir) ...
@echo plat: $(PLAT)