Rev | Line | |
---|
[56] | 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 |
---|
[608] | 6 | INC_DIR = ../../../../source/Lib |
---|
[56] | 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 | # intermediate directory for object files |
---|
| 19 | OBJ_DIR = ./objects |
---|
| 20 | |
---|
| 21 | # set executable name |
---|
| 22 | PRJ_NAME = TAppRenderer |
---|
| 23 | |
---|
| 24 | # defines to set |
---|
| 25 | DEFS = -DMSYS_LINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DMSYS_UNIX_LARGEFILE |
---|
| 26 | |
---|
| 27 | # set objects |
---|
| 28 | OBJS = \ |
---|
| 29 | $(OBJ_DIR)/RendererMain.o \ |
---|
| 30 | $(OBJ_DIR)/TAppRendererCfg.o \ |
---|
| 31 | $(OBJ_DIR)/TAppRendererTop.o \ |
---|
| 32 | |
---|
| 33 | # set libs to link with |
---|
| 34 | LIBS = -ldl |
---|
| 35 | |
---|
| 36 | DEBUG_LIBS = |
---|
| 37 | RELEASE_LIBS = |
---|
| 38 | |
---|
| 39 | STAT_LIBS = -lpthread |
---|
| 40 | DYN_LIBS = |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | DYN_DEBUG_LIBS = -lTLibRendererd -lTLibCommond -lTLibVideoIOd -lTAppCommond |
---|
| 44 | DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibRendererd.a $(LIB_DIR)/libTLibCommond.a $(LIB_DIR)/libTLibVideoIOd.a $(LIB_DIR)/libTAppCommond.a |
---|
| 45 | STAT_DEBUG_LIBS = -lTLibRendererStaticd -lTLibCommonStaticd -lTLibVideoIOStaticd -lTAppCommonStaticd |
---|
| 46 | STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibRendererStaticd.a $(LIB_DIR)/libTLibCommonStaticd.a $(LIB_DIR)/libTLibVideoIOStaticd.a $(LIB_DIR)/libTAppCommonStaticd.a |
---|
| 47 | |
---|
| 48 | DYN_RELEASE_LIBS = -lTLibRenderer -lTLibCommon -lTLibVideoIO -lTAppCommon |
---|
| 49 | DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibRenderer.a $(LIB_DIR)/libTLibCommon.a $(LIB_DIR)/libTLibVideoIO.a $(LIB_DIR)/libTAppCommon.a |
---|
| 50 | STAT_RELEASE_LIBS = -lTLibRendererStatic -lTLibCommonStatic -lTLibVideoIOStatic -lTAppCommonStatic |
---|
| 51 | STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibRendererStatic.a $(LIB_DIR)/libTLibCommonStatic.a $(LIB_DIR)/libTLibVideoIOStatic.a $(LIB_DIR)/libTAppCommonStatic.a |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | # name of the base makefile |
---|
| 55 | MAKE_FILE_NAME = ../../common/makefile.base |
---|
| 56 | |
---|
| 57 | # include the base makefile |
---|
| 58 | include $(MAKE_FILE_NAME) |
---|
Note: See
TracBrowser for help on using the repository browser.