wmii/cmd/menu/Makefile
2010-05-27 17:38:19 -04:00

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