Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROG=nemesiswm
- VERSION=1.0
- PREFIX=/usr/bin
- CONFIG=$HOME/.config/
- SRCS=focus.c layout.c list.c move-resize.c winutil.c
- TWOBWM_PATH?=${PREFIX}/bin/nemesiswm
- X11_INCLUDE?=/usr/local/include
- CFLAGS+= -std=c99 -Os -s -I${X11_INCLUDE} \
- -DNCOMPTON -DTWOBWM_PATH=\"${TWOBWM_PATH}\"
- OBJS= ${SRCS:.c=.o}
- all: ${PROG}
- .c.o:
- ${CC} -c ${CFLAGS} $< -o $@
- clean:
- rm -f ${OBJS} nemesiswm
- distclean: clean
- rm -f Makefile
- install: all
- install -m 755 ${PREFIX} nemesiswm
- mkdir -p ${CONFIG}/nemesiswm
- install -m 444 keys ${CONFIG}/nemesiswm/
- uninstall:
- rm -f ${PREFIX}/bin/nemesiswm
- rm -f ${CONFIG}/nemesiswm/keys
- rmdir ${CONFIG}/nemesiswm/
Advertisement
Add Comment
Please, Sign In to add comment