2020-01-02 02:05:09 +01:00
|
|
|
## makefile - application make-file for compiling exhale on Linux and MacOS platforms
|
2020-01-02 03:01:24 +01:00
|
|
|
# written by C. R. Helmrich, last modified in 2020 - see License.htm for legal notices
|
2020-01-02 02:05:09 +01:00
|
|
|
#
|
2020-01-02 03:01:24 +01:00
|
|
|
# The copyright in this software is being made available under a Modified BSD-Style License
|
2020-01-02 02:05:09 +01:00
|
|
|
# and comes with ABSOLUTELY NO WARRANTY. This software may be subject to other third-
|
|
|
|
# party rights, including patent rights. No such rights are granted under this License.
|
|
|
|
#
|
2020-01-02 03:01:24 +01:00
|
|
|
# Copyright (c) 2018-2020 Christian R. Helmrich, project ecodis. All rights reserved.
|
2020-01-02 02:05:09 +01:00
|
|
|
##
|
|
|
|
|
|
|
|
# define as console application
|
|
|
|
CONFIG = CONSOLE
|
|
|
|
|
|
|
|
# source and output directories
|
|
|
|
DIR_BIN = ../../bin
|
|
|
|
DIR_OBJ = ../../build
|
|
|
|
DIR_INC = ../../include
|
|
|
|
DIR_LIB = ../../lib
|
|
|
|
DIR_SRC = ../../src/app
|
|
|
|
|
|
|
|
# build with large file support
|
|
|
|
DEFS = -DMSYS_LINUX -DMSYS_UNIX_LARGEFILE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
|
|
|
|
|
|
|
# name of product / binary file
|
2020-01-02 03:01:24 +01:00
|
|
|
PRD_NAME = exhale
|
2020-01-02 02:05:09 +01:00
|
|
|
|
|
|
|
# name of temporary object file
|
|
|
|
OBJS = \
|
|
|
|
$(DIR_OBJ)/basicMP4Writer.o \
|
|
|
|
$(DIR_OBJ)/basicWavReader.o \
|
|
|
|
$(DIR_OBJ)/exhaleApp.o \
|
|
|
|
$(DIR_OBJ)/exhaleAppPch.o \
|
|
|
|
|
|
|
|
# define libraries to link with
|
|
|
|
LIBS = -ldl
|
|
|
|
DYN_LIBS =
|
|
|
|
STAT_LIBS = -lpthread
|
|
|
|
|
2020-01-02 03:01:24 +01:00
|
|
|
DYN_DEBUG_LIBS = -l$(PRD_NAME)Dynd
|
|
|
|
DYN_DEBUG_PREREQS = $(DIR_LIB)/lib$(PRD_NAME)Dynd.a
|
|
|
|
STAT_DEBUG_LIBS = -l$(PRD_NAME)d
|
|
|
|
STAT_DEBUG_PREREQS = $(DIR_LIB)/lib$(PRD_NAME)d.a
|
2020-01-02 02:05:09 +01:00
|
|
|
|
2020-01-02 03:01:24 +01:00
|
|
|
DYN_RELEASE_LIBS = -l$(PRD_NAME)
|
|
|
|
DYN_RELEASE_PREREQS = $(DIR_LIB)/lib$(PRD_NAME).a
|
|
|
|
STAT_RELEASE_LIBS = -l$(PRD_NAME)
|
|
|
|
STAT_RELEASE_PREREQS = $(DIR_LIB)/lib$(PRD_NAME).a
|
2020-01-02 02:05:09 +01:00
|
|
|
|
|
|
|
# include common makefile.base
|
|
|
|
include ../makefile.base
|