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