mirror of
git://git.suckless.org/ubase
synced 2024-12-23 07:02:42 +00:00
353b8a2c0b
This causes all sorts of warnings including certain system headers on OpenBSD. We'll revisit this in the future.
24 lines
389 B
Makefile
24 lines
389 B
Makefile
# ubase version
|
|
VERSION = 0.0
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
|
|
# OS to build against
|
|
OS = linux
|
|
#OS = openbsd
|
|
|
|
#CC = gcc
|
|
#CC = musl-gcc
|
|
LD = $(CC)
|
|
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
|
|
CFLAGS = -g -ansi -Wall -Wno-long-long $(CPPFLAGS)
|
|
LDFLAGS = -g
|
|
|
|
#CC = tcc
|
|
#LD = $(CC)
|
|
#CPPFLAGS = -D_POSIX_C_SOURCE=200112L
|
|
#CFLAGS = -Os -Wall $(CPPFLAGS)
|
|
#LDFLAGS =
|