Fri, 16 Dec 2016 23:04:48 +0100
make install supports DESTDIR variable
universe@34 | 1 | # |
universe@34 | 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
universe@34 | 3 | # |
universe@36 | 4 | # Copyright 2013 Mike Becker. All rights reserved. |
universe@34 | 5 | # |
universe@34 | 6 | # Redistribution and use in source and binary forms, with or without |
universe@34 | 7 | # modification, are permitted provided that the following conditions are met: |
universe@34 | 8 | # |
universe@34 | 9 | # 1. Redistributions of source code must retain the above copyright |
universe@34 | 10 | # notice, this list of conditions and the following disclaimer. |
universe@34 | 11 | # |
universe@34 | 12 | # 2. Redistributions in binary form must reproduce the above copyright |
universe@34 | 13 | # notice, this list of conditions and the following disclaimer in the |
universe@34 | 14 | # documentation and/or other materials provided with the distribution. |
universe@34 | 15 | # |
universe@34 | 16 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
universe@34 | 17 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
universe@34 | 18 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
universe@34 | 19 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
universe@34 | 20 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
universe@34 | 21 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
universe@34 | 22 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
universe@34 | 23 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
universe@34 | 24 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
universe@34 | 25 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
universe@34 | 26 | # |
universe@34 | 27 | |
universe@34 | 28 | CC = gcc |
universe@34 | 29 | LD = gcc |
universe@34 | 30 | CFLAGS = -Wall -std=gnu99 -O0 -g |
universe@34 | 31 | LDFLAGS = -static -lregex |