Don't link wmii9menu against libixp.

This commit is contained in:
Kris Maglione 2007-02-26 16:04:04 -05:00
parent 6fc0950cb5
commit 8ba567929c
2 changed files with 7 additions and 5 deletions

View File

@ -11,7 +11,7 @@ MAN1 = wmii wmiir wmiiwm wmiiloop
SCRIPTS = wmii wmiir wmiiloop
BIN = wmiiwm wmii9menu
all: options wmiiwm wmii9menu
all: options ${BIN}
options:
@echo wmii build options:
@ -33,11 +33,12 @@ config.mk: .hg/00changelog.i
${OBJ}: wmii.h config.mk
9menu.o: config.mk
wmiiwm: ${OBJ}
@echo LD $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
@${CC} -o $@ ${OBJ} ${LDFLAGS} ${LIBIXP}
# XXX: This doesn't need libixp
wmii9menu: 9menu.o
@echo LD $@
@${CC} -o $@ 9menu.o ${LDFLAGS}
@ -50,7 +51,7 @@ dist: clean
@echo creating dist tarball
@mkdir -p wmii-${VERSION}
@cp -R LICENSE Makefile README wmii wmiir config.mk rc \
wmii.1 wmiir.1 wmiiwm.1 wmii.h ${SRC} wmii-${VERSION}
wmii.1 wmiir.1 wmiiwm.1 wmii.h ${SRC} 9menu.c wmii-${VERSION}
@tar -cf wmii-${VERSION}.tar wmii-${VERSION}
@gzip wmii-${VERSION}.tar
@rm -rf wmii-${VERSION}

View File

@ -15,7 +15,8 @@ X11LIB = /usr/X11R6/lib
# includes and libs
INCS = -I. -I${PREFIX}/include -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp
LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lX11
LIBIXP = -L${PREFIX}/lib -lixp
# flags
#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"