wmii/cmd/Makefile

37 lines
705 B
Makefile
Raw Normal View History

ROOT=..
include ${ROOT}/mk/hdr.mk
2007-03-26 09:40:47 +04:00
include ${ROOT}/mk/wmii.mk
wmiir.c: ${ROOT}/mk/wmii.mk
DIRS = wmii
TARG = wmii9menu \
wmii9rc \
wmiiloop \
wmiir \
wmiistartrc
OFILES = util.o
FILTER = sed "s|CONFPREFIX|${ETC}|g; \
s|CONFVERSION|${CONFVERSION}|g; \
s|P9PATHS|${P9PATHS}|g; \
s|AWKPATH|${AWKPATH}|g"
2007-04-22 08:05:05 +04:00
2007-07-17 00:52:35 +04:00
LDFLAGS += -lfmt -lutf
CFLAGS += ${INCX11} -DVERSION=\"${VERSION}\"
include ${ROOT}/mk/many.mk
include ${ROOT}/mk/dir.mk
OWMIIR=wmiir.o ${OFILES} ${LIBIXP}
wmiir.O: ${OWMIIR}
${LINK} $@ ${STATIC} ${OWMIIR}
OMENU=menu.o wmii/x11.o ${OFILES} ${LIBIXP}
menu.O: ${OMENU} dall
${LINK} $@ ${OMENU}
wmii9menu.O: wmii9menu.o ${OFILES}
${LINK} $@ $*.o ${OFILES} ${LIBX11}