3ba3e2cc4b
Ok'd by: peter Discussed with: msmith
17 lines
380 B
Makefile
17 lines
380 B
Makefile
.if !defined(GLOBAL_MAKEFILE_INC_BEEN_HERE)
|
|
|
|
GLOBAL_MAKEFILE_INC_BEEN_HERE=yes
|
|
BINDIR?= /usr/bin
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LIBDESTDIR= ${.OBJDIR}/../lib
|
|
.else
|
|
LIBDESTDIR= ${.CURDIR}/../lib
|
|
.endif
|
|
LDDESTDIR= -L${LIBDESTDIR}
|
|
LDADD= -lgloutil
|
|
DPADD= ${LIBDESTDIR}/libgloutil.a
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../lib -O \
|
|
-Wall -Wwrite-strings -Wmissing-prototypes
|
|
|
|
.endif
|