wmii/cmd/menu/Makefile

28 lines
410 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
OBJ = main \
caret \
history \
menu \
keys \
bindings
include $(ROOT)/mk/one.mk