1PACKAGE=\"cnee\" 2VERSION=\"2.0\" 3 4XOSD_DEFINE= 5XOSD_PATH=/home/hesa/xosd-2.2.5/ 6XOSD_INC=-I${XOSD_PATH}/src -I${XOSD_PATH}/include 7XOSD_FLAGS=${XOSD_DEFINE} ${XOSD_INC} ${XOSD_LIB} -lxosd 8 9XNEE_PATH=../libxnee 10XNEE_INC=${XNEE_PATH}/include 11XNEE_LIB=${XNEE_PATH}/ 12 13CC=gcc 14CFLAGS = -W -Wall -pedantic -pedantic-errors -Werror \ 15 -DPACKAGE=${PACKAGE} -DVERSION=${VERSION} \ 16 -I/usr/X11R6/include -I${XNEE_INC}\ 17 ${XOSD_FLAGS} \ 18 -g -DHAVE_STDARG_H=1 -DXNEE_WANT_DEBUG 19 20 21LDFLAGS = -L/usr/X11R6/lib -L./lib -L/usr/X/lib 22 23LIBS = -lX11 -lXext -lXtst -lpthread 24 25CLI_OBJS = src/parse.o src/main.o 26 27OBJS = ${CLI_OBJS} 28 29.c.o: 30 ${CC} -g ${CFLAGS} -c $< -o $@ 31 32 33 34XNEELIB = -L${XNEE_LIB} -lxnee 35 36XNEE_CLI= src/cnee 37 38all : ${XNEE_CLI} 39 40clean: 41 \rm -fr ${CLI_OBJS} ${XNEE_CLI} src/*/*~ *~ src/*/*.o */a.out core 42 43bin : ${XNEE_CLI} 44 45 46${XNEE_CLI}: ${CLI_OBJS} 47 ${CC} -o ${XNEE_CLI} ${CLI_OBJS} ${LDFLAGS} ${LIBS} ${XNEELIB} ${XOSD_FLAGS} ${LIBS} 48 49 50