summaryrefslogtreecommitdiff
path: root/src/Makefile
AgeCommit message (Collapse)AuthorLines
2022-01-16remove local getopt_long() implementationGuilherme Janczak-2/+0
getopt_long() is widely supported these days, removing it from the source tree should be okay. Here's documentation or the implementation of getopt_long on many systems: All the BSDs: https://man.netbsd.org/NetBSD-9.2-STABLE/getopt_long.3 https://man.openbsd.org/OpenBSD-7.0/getopt_long https://www.freebsd.org/cgi/man.cgi?query=getopt_long https://leaf.dragonflybsd.org/cgi/web-man?command=getopt_long Illumos (OpenSolaris fork): https://illumos.org/man/3c/getopt_long The musl, newlib, and uclibc-ng libcs: https://gogs.waldemar-brodkorb.de/oss/uclibc-ng/src/master/libc/unistd/getopt_long-simple.c#L49-L52 https://git.musl-libc.org/cgit/musl/tree/src/misc/getopt_long.c#n140 https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdlib/getopt.c;h=d4f225a7a735dc741d2874eb6c131b6fce2967c5;hb=HEAD#l475 Mingw-w64: https://github.com/mirror/mingw-w64/blob/master/mingw-w64-crt/misc/getopt.c#L542-L549 Mac OS X: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/getopt_long.3.html
2020-06-15Enable --version-sort on systems without strverscmp()Tim van der Molen-0/+4
The --version-sort option requires strverscmp(), but this is a glibc extension that does not exist on OpenBSD and other systems. To enable --version-sort on those systems, provide an internal implementation of strverscmp(). The implementation is from the musl C library and is MIT-licensed. The build process remains the same: the verscmp flag should be set to 1 only if strverscmp() is available in libc. If verscmp is 0, then the internal implementation is used.
2018-10-02Actually remove collage mode after ~7 years.Olof-Joachim Frahm-1/+0
2018-01-29Makefile: Also honor CFLAGS when building deps.mkDaniel Friesel-2/+2
2017-08-25(src/Makefile) Manually set the target *.c filesorbea-1/+35
This allows finer control of which files are compiled and additionally will silence some -Wpedantic warnings when "empty" files are compiled.
2011-11-30Makefile: Respect CPPFLAGS when creating deps.mk (closes #74)Daniel Friesel-1/+1
2010-06-19Move fehrc / help from options.c into separate filesDaniel Friesel-5/+17
2010-06-11Gentoo patch: Use LDLIBS for better custom LDFLAGS supportDaniel Friesel-1/+1
2010-03-27Makefile/config.mk: Support getting the usual values from the environment.Daniel Friesel-6/+6
No need to edit config.mk to set addictional CFLAGS/LDFLAGS or change the DESTDIR etc. now
2010-03-25Shorten src/Makefile, use autogenerated deps.mkDaniel Friesel-73/+6
2010-03-21Remove autoconf (from branch 'autocruft')Daniel Friesel-0/+84
Use config.mk for configuration, both GNU make and FreeBSD make are supported.