Skip to content
Browse files

change make clean

  • Loading branch information...
1 parent d904ab6 commit 86d605804d2e683af57012658f89cd0679dc5d13 @cloudwu committed
Showing with 7 additions and 5 deletions.
  1. +3 −3 mk/build_a.mk
  2. +3 −1 mk/clean.mk
  3. +1 −1 mk/defines.mk
View
6 mk/build_a.mk
@@ -1,8 +1,8 @@
-MKDIRS := $(MKDIRS) $(BUILD_TOP)/lib
+MKDIRS := $(MKDIRS) $(LIB_DIR)
-LIBTAR := $(BUILD_TOP)/lib/$(LIBTAR)
+LIBTAR := $(LIB_DIR)/$(LIBTAR)
-$(LIBTAR) : | $(BUILD_TOP)/lib
+$(LIBTAR) : | $(LIB_DIR)
$(LIBTAR) : ARCHIVE_OBJECTS := $(LIB_O) $(LIB_INIT_O)
View
4 mk/clean.mk
@@ -1,2 +1,4 @@
clean :
- -$(RMDIR) $(WINDSOUL)
+ -$(RMDIR) $(BUILD_TOP)
+ -$(RMDIR) $(BUILD_TOOLS)
+ -$(RMDIR) $(LIB_DIR)
View
2 mk/defines.mk
@@ -1,6 +1,6 @@
BUILD_TOP := $(WINDSOUL)/build
LIB_DIR := $(WINDSOUL)/lib
-BUILD_TOOLS := $(BUILD_TOP)/build_tools
+BUILD_TOOLS := $(WINDSOUL)/build_tools
CC := gcc
AR := ar rc

0 comments on commit 86d6058

Please sign in to comment.
Something went wrong with that request. Please try again.