Browse Source

Create the bin directories during the build process

coderain 6 months ago
parent
commit
cf0e7bf409
3 changed files with 11 additions and 3 deletions
  1. 4 1
      drivers/Makefile
  2. 4 1
      libraries/Makefile
  3. 3 1
      programs/Makefile

+ 4 - 1
drivers/Makefile

@@ -17,7 +17,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-all:
+all: bin
 	$(MAKE) -C acpica all
 	$(MAKE) -C fatfs all
 	$(MAKE) -C floppy all
@@ -36,3 +36,6 @@ clean:
 	$(MAKE) -C serial clean
 	$(MAKE) -C speaker clean
 	$(MAKE) -C vesa clean
+
+bin:
+	mkdir bin

+ 4 - 1
libraries/Makefile

@@ -17,10 +17,13 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-all:
+all: bin
 	$(MAKE) -C mlcrt all
 	$(MAKE) -C mlsys all
 
 clean:
 	$(MAKE) -C mlcrt clean
 	$(MAKE) -C mlsys clean
+
+bin:
+	mkdir bin

+ 3 - 1
programs/Makefile

@@ -17,8 +17,10 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-all:
+all: bin
 	$(MAKE) -C manager all
 clean:
 	$(MAKE) -C manager clean
 
+bin:
+	mkdir bin