universe@185: # universe@185: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. universe@185: # universe@192: # Copyright 2015 Olaf Wintermann. All rights reserved. universe@185: # universe@185: # Redistribution and use in source and binary forms, with or without universe@185: # modification, are permitted provided that the following conditions are met: universe@185: # universe@185: # 1. Redistributions of source code must retain the above copyright universe@185: # notice, this list of conditions and the following disclaimer. universe@185: # universe@185: # 2. Redistributions in binary form must reproduce the above copyright universe@185: # notice, this list of conditions and the following disclaimer in the universe@185: # documentation and/or other materials provided with the distribution. universe@185: # universe@185: # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" universe@185: # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE universe@185: # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE universe@185: # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE universe@185: # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR universe@185: # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF universe@185: # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS universe@185: # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN universe@185: # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) universe@185: # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE universe@185: # POSSIBILITY OF SUCH DAMAGE. universe@185: # universe@185: universe@185: CC = g++ universe@185: LD = g++ universe@185: AR = ar universe@185: RM = rm universe@185: MKDIR = mkdir universe@185: universe@185: CFLAGS = -O2 -fstrict-aliasing -fPIC universe@185: CFLAGS_D = -g -fstrict-aliasing -Wall -Wno-variadic-macros -pedantic -fPIC universe@185: LDFLAGS = universe@185: SOLDFLAGS = -shared universe@185: ARFLAGS = -r universe@185: RMFLAGS = -f -R universe@185: MKDIRFLAGS = -p universe@185: universe@185: OBJ_EXT = .o universe@185: SO_EXT = .so universe@185: LIB_EXT = .a universe@185: APP_EXT =