wmii/cmd/menu/Makefile
2010-05-21 22:52:47 -04:00

28 lines
460 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
LIBS += -lm $(LIBS9) $(LIBIXP)
CFLAGS += -DIXP_NEEDAPI=86
OBJ = main \
caret \
history \
menu \
keys \
bindings
include $(ROOT)/mk/one.mk