diff options
author | Tim Angus <tim@ngus.net> | 2003-02-11 05:09:24 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-02-11 05:09:24 +0000 |
commit | 96231086795cbf68f01148e8d1e65a28e3581a66 (patch) | |
tree | 327e3ad419b60381e1859190b514c87004d72c8f /Makefile | |
parent | 64d793805923e8a1a20b6d7a305ace38e5719c86 (diff) |
* All nonsegemented model animations now triggered with the exception of PAIN[12]
* Makefile altered to define __GAME__, __CGAME__ and __UI__
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -158,6 +158,12 @@ Q3ASM=q3asm Q3ASM_FLAGS= +# --source level flags-- + +SLF_GAME_FLAGS=-D__GAME__ +SLF_CGAME_FLAGS=-D__CGAME__ +SLF_UI_FLAGS=-D__UI__ + # --main targets-- all: release debug qvm @@ -244,39 +250,39 @@ $(BQ)/ui.qvm: $(UIQVMOBJ) $(BQ)/$(GDIRNAME)/bg_lib.asm # --rules for the objects-- #release g_*.o $(BR)/$(GDIRNAME)/%.o: $(GDIR)/%.c - $(CC) $(RELEASE_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(RELEASE_CFLAGS) $(SLF_GAME_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #debug g_*.o $(BD)/$(GDIRNAME)/%.o: $(GDIR)/%.c - $(CC) $(DEBUG_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(DEBUG_CFLAGS) $(SLF_GAME_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #qvm g_*.asm $(BQ)/$(GDIRNAME)/%.asm: $(GDIR)/%.c - $(LCC) $(LCC_FLAGS) $(LCC_INCLUDES) -o $@ $< + $(LCC) $(LCC_FLAGS) $(SLF_GAME_FLAGS) $(LCC_INCLUDES) -o $@ $< #release cg_*.o $(BR)/$(CGDIRNAME)/%.o: $(CGDIR)/%.c - $(CC) $(RELEASE_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(RELEASE_CFLAGS) $(SLF_CGAME_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #debug cg_*.o $(BD)/$(CGDIRNAME)/%.o: $(CGDIR)/%.c - $(CC) $(DEBUG_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(DEBUG_CFLAGS) $(SLF_CGAME_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #qvm cg_*.asm $(BQ)/$(CGDIRNAME)/%.asm: $(CGDIR)/%.c - $(LCC) $(LCC_FLAGS) $(LCC_INCLUDES) -o $@ $< + $(LCC) $(LCC_FLAGS) $(SLF_CGAME_FLAGS) $(LCC_INCLUDES) -o $@ $< #release ui_*.o $(BR)/$(UIDIRNAME)/%.o: $(UIDIR)/%.c - $(CC) $(RELEASE_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(RELEASE_CFLAGS) $(SLF_UI_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #debug ui_*.o $(BD)/$(UIDIRNAME)/%.o: $(UIDIR)/%.c - $(CC) $(DEBUG_CFLAGS) $(SHLIBCFLAGS) -o $@ -c $< + $(CC) $(DEBUG_CFLAGS) $(SLF_UI_FLAGS) $(SHLIBCFLAGS) -o $@ -c $< #qvm ui_*.asm $(BQ)/$(UIDIRNAME)/%.asm: $(UIDIR)/%.c - $(LCC) $(LCC_FLAGS) $(LCC_INCLUDES) -o $@ $< + $(LCC) $(LCC_FLAGS) $(SLF_UI_FLAGS) $(LCC_INCLUDES) -o $@ $< # --cleaning rules-- |