Makefile (463B)
1 ROOT= ../.. 2 include $(ROOT)/mk/hdr.mk 3 include $(ROOT)/mk/wmii.mk 4 5 main.c: $(ROOT)/mk/wmii.mk 6 7 bindings.c: keys.txt Makefile 8 ( echo "char binding_spec[] ="; \ 9 sed 's/.*/ "&\\n"/' keys.txt; \ 10 echo " ;" ) >$@ 11 12 TARG = wimenu 13 HFILES= dat.h fns.h 14 TAGFILES= dat.h $(ROOT)/include/*.h $(ROOT)/include/stuff/*.h 15 16 PACKAGES += $(X11PACKAGES) 17 18 LIB = $(LIBS9) $(LIBIXP) 19 LIBS += -lm 20 OBJ = main \ 21 caret \ 22 history \ 23 menu \ 24 keys \ 25 bindings 26 27 include $(ROOT)/mk/one.mk 28