mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
Don't link wmii9menu against libixp.
This commit is contained in:
parent
6fc0950cb5
commit
8ba567929c
9
Makefile
9
Makefile
@ -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}
|
||||
|
@ -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}\"
|
||||
|
Loading…
Reference in New Issue
Block a user