forked from XLuma/retsam_00jupc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modulerules.GF
45 lines (33 loc) · 1.63 KB
/
modulerules.GF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
G3DCVTR = $(WINE) $(NITROSYSTEM_ROOT)/tools/win/bin/g3dcvtr.exe
%.nsbmd: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbmd=.imd))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbmd=.imd)) -o $@
%.nsbmt: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbmt=.imd))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbmt=.imd)) -o $(@:.nsbmt=.nsbmd) -emdl
mv $(@:.nsbmt=.nsbmd) $@
%.nsbtx: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbtx=.imd))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbtx=.imd)) -o $@ -etex
%.nsbca: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbca=.ica))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbca=.ica)) -o $@
%.nsbva: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbva=.iva))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbva=.iva)) -o $@
%.nsbma: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbma=.ima))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbma=.ima)) -o $@
%.nsbtp: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbtp=.itp))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbtp=.itp)) -o $@
%.nsbta: $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbta=.ita))
$(G3DCVTR) $(subst $(DATABIN),$(DATASRC)/,$(@:.nsbta=.ita)) -o $@
include $(NITROSYSTEM_ROOT)/build/buildtools/modulerules
MAKELCF_DEFS = -DNITROSDK_ROOT='$(ROOT)' \
-DTARGET_NAME='$(TARGET_NAME)' \
-Mlcf_def.txt \
-DGLIBS='$(GLIBRARIES_LINK)' \
-DLLIBS='$(LLIBRARIES_LINK)' \
-DCW_LIBS='$(CW_LIBS)' \
-DOBJDIR='$(OBJDIR)' \
-DLIBDIR='$(LIBDIR)' \
-DBINDIR='$(BINDIR)' \
-DPROC='$(CODEGEN_PROC)' \
-DPLATFORM='$(NITRO_PLATFORM)' \
-DCODEGEN='$(CODEGEN_ARCH)' \
-DBUILD='$(NITRO_BUILD_DIR)' \
-DADDRESS_DTCM='$(ADDRESS_DTCM)'