1 | # the SOURCE definiton lets you move your makefile to another position |
---|
2 | CONFIG = CONSOLE |
---|
3 | |
---|
4 | # set directories to your wanted values |
---|
5 | SRC_DIR = ../../../../source/App/TAppRenderer |
---|
6 | INC_DIR = ../../../../source/Lib |
---|
7 | LIB_DIR = ../../../../lib |
---|
8 | BIN_DIR = ../../../../bin |
---|
9 | |
---|
10 | SRC_DIR1 = |
---|
11 | SRC_DIR2 = |
---|
12 | SRC_DIR3 = |
---|
13 | SRC_DIR4 = |
---|
14 | |
---|
15 | USER_INC_DIRS = -I$(SRC_DIR) |
---|
16 | USER_LIB_DIRS = |
---|
17 | |
---|
18 | ifeq ($(HIGHBITDEPTH), 1) |
---|
19 | HBD=HighBitDepth |
---|
20 | else |
---|
21 | HBD= |
---|
22 | endif |
---|
23 | |
---|
24 | # intermediate directory for object files |
---|
25 | OBJ_DIR = ./objects$(HBD) |
---|
26 | |
---|
27 | # set executable name |
---|
28 | PRJ_NAME = TAppRenderer$(HBD) |
---|
29 | |
---|
30 | # defines to set |
---|
31 | DEFS = -DMSYS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMSYS_UNIX_LARGEFILE |
---|
32 | |
---|
33 | # set objects |
---|
34 | OBJS = \ |
---|
35 | $(OBJ_DIR)/RendererMain.o \ |
---|
36 | $(OBJ_DIR)/TAppRendererCfg.o \ |
---|
37 | $(OBJ_DIR)/TAppRendererTop.o \ |
---|
38 | |
---|
39 | # set libs to link with |
---|
40 | LIBS = -ldl |
---|
41 | |
---|
42 | DEBUG_LIBS = |
---|
43 | RELEASE_LIBS = |
---|
44 | |
---|
45 | STAT_LIBS = -lpthread |
---|
46 | DYN_LIBS = |
---|
47 | |
---|
48 | |
---|
49 | DYN_DEBUG_LIBS = -lTLibRenderer$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommond |
---|
50 | DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibRendererd.a $(LIB_DIR)/libTLibCommond.a $(LIB_DIR)/libTLibVideoIOd.a $(LIB_DIR)/libTAppCommond.a |
---|
51 | STAT_DEBUG_LIBS = -lTLibRenderer$(HBD)Staticd -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd |
---|
52 | STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibRenderer$(HBD)Staticd.a $(LIB_DIR)/libTLibCommon$(HBD)Staticd.a $(LIB_DIR)/libTLibVideoIO$(HBD)Staticd.a $(LIB_DIR)/libTAppCommon$(HBD)Staticd.a |
---|
53 | |
---|
54 | DYN_RELEASE_LIBS = -lTLibRenderer$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) |
---|
55 | DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibRenderer$(HBD).a $(LIB_DIR)/libTLibCommon.a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a |
---|
56 | STAT_RELEASE_LIBS = -lTLibRenderer$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static |
---|
57 | STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibRenderer$(HBD)Static.a $(LIB_DIR)/libTLibCommon$(HBD)Static.a $(LIB_DIR)/libTLibVideoIO$(HBD)Static.a $(LIB_DIR)/libTAppCommon$(HBD)Static.a |
---|
58 | |
---|
59 | |
---|
60 | # name of the base makefile |
---|
61 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
62 | |
---|
63 | # include the base makefile |
---|
64 | include $(MAKE_FILE_NAME) |
---|