Skip to content

Commit b54b67a

Browse files
committed
Revert "update gui makefile and parallelized package build"
This reverts commit 0f039a8.
1 parent c51325e commit b54b67a

File tree

4 files changed

+43
-34
lines changed

4 files changed

+43
-34
lines changed

gui/Makefile

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,40 @@
1-
LIBS = libwindow
2-
PROGRAMS = vflvm explorer imgview taskmgr sysctl netinfo paint
3-
41
all:
5-
make build_libraries -j $(nproc)
6-
make build_programs -j $(nproc)
7-
8-
build_libraries: $(addsuffix _library,$(LIBS))
9-
build_programs: $(addsuffix _prog,$(PROGRAMS))
10-
11-
%_library:
2+
mkdir -p bin
123
mkdir -p lib
13-
make -C $* library -j $(nproc)
4+
5+
make -C libwindow library
146

15-
%_prog:
16-
mkdir -p bin
17-
make -C $* prog -j $(nproc)
7+
make -C vflvm prog
8+
make -C explorer prog
9+
make -C imgview prog
10+
make -C taskmgr prog
11+
make -C sysctl prog
12+
make -C netinfo prog
1813

14+
make -C paint prog
1915

2016
clean:
21-
$(foreach lib,$(LIBS),make -C $(lib) clean;)
22-
$(foreach prog,$(PROGRAMS),make -C $(prog) clean;)
17+
make -C libwindow clean
18+
19+
make -C vflvm clean
20+
make -C explorer clean
21+
make -C imgview clean
22+
make -C taskmgr clean
23+
make -C sysctl clean
24+
make -C netinfo clean
25+
26+
make -C tic_tac_toe clean
27+
make -C paint clean
28+
2329

2430
compile_flags.txt:
25-
$(foreach lib,$(LIBS),make -C $(lib) compile_flags.txt;)
26-
$(foreach prog,$(PROGRAMS),make -C $(prog) compile_flags.txt;)
31+
make -C libwindow compile_flags.txt
32+
33+
make -C vflvm compile_flags.txt
34+
make -C explorer compile_flags.txt
35+
make -C imgview compile_flags.txt
36+
make -C taskmgr compile_flags.txt
37+
make -C sysctl compile_flags.txt
38+
make -C netinfo compile_flags.txt
39+
40+
make -C paint compile_flags.txt

pkgs/brainasm/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ if [ -d "installer" ]; then
1010
rm -rvf installer
1111
fi
1212

13-
make -f $1 -C src/src PROGRAM=brainasm.elf AUTHOR=glowman554 LIBS_ZIP=$2 extract_libs
14-
make -f $1 -C src/src PROGRAM=brainasm.elf AUTHOR=glowman554 LIBS_ZIP=$2 prog -j $(nproc)
13+
make -f $1 -C src/src PROGRAM=brainasm.elf AUTHOR=glowman554 LIBS_ZIP=$2 extract_libs prog
1514

1615
bash ../run_installer.sh $1 $2 $3
1716
cp -v installer/install.mex ../pkgs/brainasm_install.mex

pkgs/build.sh

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,15 @@ fi
1616

1717
mkdir -p pkgs
1818

19-
(
20-
build_dir brainasm &
21-
build_dir phoenix_tools &
22-
build_dir phoenixv2_tools &
23-
build_dir nyanmbr &
24-
build_dir doom &
25-
build_dir saf &
26-
build_dir nextfs &
27-
build_dir mcc &
28-
wait
29-
)
30-
19+
build_dir brainasm
20+
build_dir phoenix_tools
21+
build_dir phoenixv2_tools
22+
build_dir nyanmbr
23+
build_dir doom
24+
build_dir saf
25+
build_dir nextfs
26+
build_dir mcc
27+
3128
(
3229
cd pkgs
3330
echo export ACCEPT_ALL=1 > all.msh

pkgs/doom/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ if [ -d "installer" ]; then
1919
rm -rvf installer
2020
fi
2121

22-
make -C src LIBS_ZIP=$2 compile_flags.txt extract_libs
23-
make -C src LIBS_ZIP=$2 prog -j $(nproc)
22+
make -C src LIBS_ZIP=$2 compile_flags.txt extract_libs prog
2423

2524
bash ../run_installer.sh $1 $2 $3
2625
cp -v installer/install.mex ../pkgs/doom_install.mex

0 commit comments

Comments
 (0)