ubase/config.mk
sin 8441c95a2f define -D_XOPEN_SOURCE in config.mk
Remove from su.c and login.c
2014-06-04 15:16:24 +01:00

14 lines
270 B
Makefile

# ubase version
VERSION = 0.1
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
#CC = gcc
#CC = musl-gcc
LD = $(CC)
CPPFLAGS = -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS = -std=c99 -Wall -Wextra $(CPPFLAGS)
LDFLAGS = -s -lcrypt # -static