Compile a menu.dat for FreeHL with GAME_DIR set to "valve"

This commit is contained in:
Marco Cawthorne 2021-05-28 19:36:21 +02:00
parent d7293c8871
commit 6484cf0ff9
4 changed files with 15 additions and 0 deletions

View file

@ -3,3 +3,4 @@ CC=fteqcc
all:
cd client && $(MAKE)
cd server && $(MAKE)
cd menu && $(MAKE)

4
src/menu/Makefile Normal file
View file

@ -0,0 +1,4 @@
CC=fteqcc
all:
$(CC) progs.src

9
src/menu/progs.src Normal file
View file

@ -0,0 +1,9 @@
#pragma target fte
#pragma progs_dat "../../menu.dat"
#define MENU
#define GAME_DIR "valve"
#includelist
../../../src/menu-fn/includes.src
#endlist

View file

@ -1,2 +1,3 @@
#pragma sourcefile client/progs.src
#pragma sourcefile server/progs.src
#pragma sourcefile menu/progs.src