wmii/cmd/menu/Makefile
2009-05-21 14:22:58 -04:00

37 lines
634 B
Makefile

ROOT= ../..
include $(ROOT)/mk/hdr.mk
include $(ROOT)/mk/wmii.mk
main.c: $(ROOT)/mk/wmii.mk
bindings.c: keys.txt Makefile
( echo "char binding_spec[] = "; \
sed 's/.*/ "&\\n"/' keys.txt; \
echo " ;" ) >bindings.c
TARG = wimenu
HFILES= dat.h fns.h
PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama
LIB = $(LIBIXP)
LDFLAGS += -lm -lregexp9 -lbio -lfmt -lutf
CFLAGS += -DVERSION=\"$(VERSION)\" -DIXP_NEEDAPI=86
OBJ = main \
caret \
history \
event \
menu \
keys \
bindings \
../wmii/geom \
../wmii/map \
../wmii/printevent \
../wmii/x11 \
../wmii/xext \
../clientutil \
../util
include $(ROOT)/mk/one.mk