wmii/cmd/Makefile

42 lines
803 B
Makefile
Raw Normal View History

ROOT=..
include $(ROOT)/mk/hdr.mk
include $(ROOT)/mk/wmii.mk
wmiir.c: $(ROOT)/mk/wmii.mk
2008-10-14 08:17:01 +04:00
DIRS = wmii \
menu
TARG = wihack \
wmii.rc \
wmii.sh \
wmii9menu \
wmii9rc \
wmiir \
wmiistartrc
OFILES = util.o
FILTER = sed "s|CONFPREFIX|$(ETC)|g; \
s|CONFVERSION|$(CONFVERSION)|g; \
s|P9PATHS|$(P9PATHS)|g; \
s|LIBDIR|$(LIBDIR)|g; \
2008-05-30 01:22:56 +04:00
s|BINSH|$(BINSH)|g; \
s|AWKPATH|$(AWKPATH)|g"
2007-04-22 08:05:05 +04:00
2007-07-17 00:52:35 +04:00
LDFLAGS += -lfmt -lutf
CFLAGS += $(INCX11) -DVERSION=\"$(VERSION)\"
include $(ROOT)/mk/many.mk
include $(ROOT)/mk/dir.mk
OWMIIR=wmiir.o $(OFILES) $(LIBIXP)
wmiir.O: $(OWMIIR)
$(LINK) $@ $(STATIC) $(OWMIIR)
2008-12-11 02:09:58 +03:00
wmii/x11.o wmii/map.o: dall
true
O9MENU=wmii9menu.o wmii/x11.o wmii/map.o $(OFILES) $(LIBIXP)
2008-12-11 02:09:58 +03:00
wmii9menu.O: $(O9MENU)
$(LINK) $@ $(O9MENU) $(LIBX11) -lXext -lbio