dwm.mk (500B)
1 TARG = dwm 2 DEPS = xorglibx11 xorgxproto xorglibxinerama xorglibxext \ 3 xorglibxcb xorglibxau xorglibxdmcp 4 5 <$mkbuild/mk.common-noinst 6 7 dwm:QV: 8 # overwrite default config.mk to allow overriding some variables. 9 # TODO: use original X11INC, X11LIB override 10 cp ../config.mk config.mk 11 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 12 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 13 CC="${CC} -static" make -j$nprocs PREFIX="$PREFIX" DESTDIR="$ROOT" 14 15 install:QV: 16 make -j$nprocs PREFIX="$PREFIX" DESTDIR="$ROOT" install