33,21 → 33,14 |
# Location of install program (GNU install or compatible required) |
INSTALL = install |
|
# Base Compiler options for GCC (use CPPFLAGS and LDFLAGS if passed in) |
ifdef CPPFLAGS |
BASECFLAGS = $(CPPFLAGS) |
else |
BASECFLAGS = -Wall -g -O2 |
endif |
ifdef INCLUDES |
BASECFLAGS += $(INCLUDES) |
endif |
ifdef LDFLAGS |
BASELDFLAGS = $(LDFLAGS) |
else |
BASELDFLAGS = -g |
endif |
# Base Compiler options for GCC (use CFLAGS, CPPFLAGS and LDFLAGS if passed in) |
BASECFLAGS := $(CFLAGS) |
BASECFLAGS ?= -Wall -g -O2 |
BASECFLAGS += $(CPPFLAGS) |
|
BASELDFLAGS := $(LDFLAGS) |
BASELDFLAGS ?= -g |
|
# Minimal libraries needed by Linux |
BASE_LIBS = -lcrypt |
# FreeBSD needs some extra libraries: |