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