diff --git a/code/unix/Makefile b/code/unix/Makefile index 53370573..7834fec4 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -413,21 +413,6 @@ DO_AS=$(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $< DO_DED_CC=$(CC) -DDEDICATED -DC_ONLY $(CFLAGS) -o $@ -c $< DO_WINDRES=$(WINDRES) -i $< -o $@ -############################################################################# -# QVM BUILD TOOLS -############################################################################# - -Q3LCC=../tools/q3lcc$(BINEXT) -Q3ASM=../tools/q3asm$(BINEXT) - -$(Q3LCC): - $(MAKE) -C ../tools/lcc install - -$(Q3ASM): - $(MAKE) -C ../tools/asm install - -DO_Q3LCC=$(Q3LCC) -o $@ -S -DQ3_VM -I$(CGDIR) -I$(GDIR) -I$(UIDIR) $< - ############################################################################# # MAIN TARGETS ############################################################################# @@ -468,6 +453,21 @@ makedirs: @if [ ! -d $(B)/missionpack/vm ];then mkdir $(B)/missionpack/vm;fi @if [ ! -d $(B)/q3static ];then mkdir $(B)/q3static;fi +############################################################################# +# QVM BUILD TOOLS +############################################################################# + +Q3LCC=../tools/q3lcc$(BINEXT) +Q3ASM=../tools/q3asm$(BINEXT) + +$(Q3LCC): + $(MAKE) -C ../tools/lcc install + +$(Q3ASM): + $(MAKE) -C ../tools/asm install + +DO_Q3LCC=$(Q3LCC) -o $@ -S -DQ3_VM -I$(CGDIR) -I$(GDIR) -I$(UIDIR) $< + ############################################################################# # CLIENT/SERVER ############################################################################# diff --git a/i_o-q3-readme b/i_o-q3-readme index 66f10a9b..149648ad 100644 --- a/i_o-q3-readme +++ b/i_o-q3-readme @@ -38,7 +38,8 @@ Run, enjoy! Compiling (Under Linux) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cd code/unix && make +1. If not already there, change to the directory containing this readme +2. Run 'make' Installing under Linux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -70,7 +71,6 @@ to accept and return long instead of int. Compiling under windows using MinGW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - It is possible to compile ioQ3 using the MinGW (Minimalist GNU for Windows) toolset. It's a little more involved than compiling for linux; steps are as follows: