Skip to content

Commit

Permalink
simplify the build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Apr 27, 2017
1 parent a23b9fe commit 56a8dc8
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions build.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
1/ To build these sources you first need to build coremake:

* for UNIX + gcc:
cd corec/tools/coremake
gcc coremake.c -o ../../../coremake
cd ../../..
gcc corec/tools/coremake/coremake.c -o coremake

* for Windows in a Visual Studio shell:
cd corec/tools/coremake
cl coremake.c -o ..\..\..\coremake.exe
cd ../../..
cl corec/tools/coremake/coremake.c -o coremake.exe


2/ Generate the makefiles

* for gcc on Linux
./coremake gcc_linux
or
./coremake gcc_linux_x64

* for gcc on Mingw64
./coremake gcc_win64
Expand All @@ -25,25 +23,22 @@ cd ../../..

3a/ build the spec tools

cd spectool
make
make -C spectool

the result executables will be in <root>/release/<gcc_win64> with <gcc_win64> being the name of the
coremake target you used on step 2.

3b/ build mkvalidator

cd mkvalidator
make
make -C mkvalidator

the result executables will be in <root>/release/<gcc_win64> with <gcc_win64> being the name of the
coremake target you used on step 2.


3c/ build mkclean

cd mkclean
make
make -C mkclean

the result executables will be in <root>/release/<gcc_win64> with <gcc_win64> being the name of the
coremake target you used on step 2.
Expand Down

0 comments on commit 56a8dc8

Please sign in to comment.