1## makefile - application make-file for compiling exhale on Linux and MacOS platforms 2 # written by C. R. Helmrich, last modified in 2020 - see License.htm for legal notices 3 # 4 # The copyright in this software is being made available under the exhale Copyright License 5 # and comes with ABSOLUTELY NO WARRANTY. This software may be subject to other third- 6 # party rights, including patent rights. No such rights are granted under this License. 7 # 8 # Copyright (c) 2018-2021 Christian R. Helmrich, project ecodis. All rights reserved. 9 ## 10 11# define as console application 12CONFIG = CONSOLE 13 14# source and output directories 15DIR_BIN = ../../bin 16DIR_OBJ = ../../build 17DIR_INC = ../../include 18DIR_LIB = ../../lib 19DIR_SRC = ../../src/app 20 21# build with large file support 22DEFS = -DMSYS_LINUX -DMSYS_UNIX_LARGEFILE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 23 24# name of product / binary file 25PRD_NAME = exhale 26 27# name of temporary object file 28OBJS = \ 29 $(DIR_OBJ)/basicMP4Writer.o \ 30 $(DIR_OBJ)/basicWavReader.o \ 31 $(DIR_OBJ)/exhaleApp.o \ 32 $(DIR_OBJ)/exhaleAppPch.o \ 33 $(DIR_OBJ)/loudnessEstim.o \ 34 35# define libraries to link with 36LIBS = -ldl 37DYN_LIBS = 38STAT_LIBS = -lpthread 39 40DYN_DEBUG_LIBS = -l$(PRD_NAME)Dynd 41DYN_DEBUG_PREREQS = $(DIR_LIB)/lib$(PRD_NAME)Dynd.a 42STAT_DEBUG_LIBS = -l$(PRD_NAME)d 43STAT_DEBUG_PREREQS = $(DIR_LIB)/lib$(PRD_NAME)d.a 44 45DYN_RELEASE_LIBS = -l$(PRD_NAME) 46DYN_RELEASE_PREREQS = $(DIR_LIB)/lib$(PRD_NAME).a 47STAT_RELEASE_LIBS = -l$(PRD_NAME) 48STAT_RELEASE_PREREQS = $(DIR_LIB)/lib$(PRD_NAME).a 49 50# include common makefile.base 51include ../makefile.base 52