Browse Source

testing makefile

master
revol-xut 1 year ago
parent
commit
f3fc078134
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Makefile
  2. +1
    -1
      config.mk

+ 2
- 2
Makefile View File

@ -15,12 +15,12 @@ options:
@echo "CC = ${CC}"
.c.o:
${CC} -c ${CFLAGS} ${LDFLAGS}
${CC} -c ${CFLAGS} $<
${OBJ}: config.h config.mk
config.h:
cp config.def.h $@
cp config.def.h config.h
dwm: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}


+ 1
- 1
config.mk View File

@ -22,7 +22,7 @@ FREETYPEINC = /usr/include/freetype2
# includes and libs
INCS = -I${X11INC} -I${FREETYPEINC}
LIBS = -L${X11LIB} -lX11 -lxcb ${XINERAMALIBS} ${FREETYPELIBS}
LIBS = -lX11 -lxcb -lX11-xcb ${XINERAMALIBS} ${FREETYPELIBS}
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}


Loading…
Cancel
Save