jdjd
This commit is contained in:
parent
e5ef069c9b
commit
bfa920a922
6 changed files with 4 additions and 10 deletions
3
Makefile
3
Makefile
|
@ -42,9 +42,6 @@ install: all
|
|||
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
@cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
|
||||
@echo installed executable files to ${DESTDIR}${PREFIX}/bin
|
||||
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||
@cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
|
||||
@echo installed manual pages to ${DESTDIR}${MANPREFIX}/man1
|
||||
|
||||
uninstall:
|
||||
for i in ${BIN}; do \
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
# Customize to fit your system
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
PREFIX = /usr
|
||||
CONFPREFIX = ${PREFIX}/etc
|
||||
MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
X11INC = /usr/X11R6/include
|
||||
X11LIB = /usr/X11R6/lib
|
||||
|
||||
VERSION = 0.1
|
||||
|
||||
# includes and libs
|
||||
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
|
||||
|
||||
# Linux/BSD
|
||||
CFLAGS = -Os -I. -pedantic -Wall -Wno-deprecated-declarations -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
||||
-DVERSION=\"${VERSION}\"
|
||||
CFLAGS = -Os -I. -pedantic -Wall -Wno-deprecated-declarations -I${PREFIX}/include -I/usr/include -I${X11INC}
|
||||
LDFLAGS = ${LIBS}
|
||||
#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
||||
# -DVERSION=\"${VERSION}\"
|
||||
|
|
BIN
dumbwm
BIN
dumbwm
Binary file not shown.
BIN
event.o
BIN
event.o
Binary file not shown.
4
main.c
4
main.c
|
@ -36,7 +36,7 @@ Client *sel = NULL;
|
|||
|
||||
static Bool other_wm_running;
|
||||
static const char version[] =
|
||||
"dumbwm-" VERSION ", (C)opyright MMVI Anselm R. Garbe\n";
|
||||
"dumbwm-" ", (C)opyright MMVI Anselm R. Garbe\n";
|
||||
static int (*x_error_handler) (Display *, XErrorEvent *);
|
||||
|
||||
static void
|
||||
|
@ -190,7 +190,7 @@ main(int argc, char *argv[])
|
|||
|
||||
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
|
||||
|
||||
strcpy(stext, "dumbwm-"VERSION);
|
||||
strcpy(stext, "dumbwm-");
|
||||
scan_wins();
|
||||
|
||||
/* main event loop, reads status text from stdin as well */
|
||||
|
|
BIN
main.o
BIN
main.o
Binary file not shown.
Loading…
Reference in a new issue