pinosaur
/
dwm.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crash fix
[dwm.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
8e48185
..
44bfa4f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,7
+3,7
@@
include config.mk
include config.mk
-SRC
+= bar.c client.c event.c main.c screen.c util
.c
+SRC
= dwm
.c
OBJ = ${SRC:.c=.o}
all: options dwm
OBJ = ${SRC:.c=.o}
all: options dwm
@@
-18,7
+18,11
@@
options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: dwm.h config.h config.mk
+${OBJ}: config.h config.mk
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
dwm: ${OBJ}
@echo CC -o $@
dwm: ${OBJ}
@echo CC -o $@
@@
-31,8
+35,8
@@
clean:
dist: clean
@echo creating dist tarball
@mkdir -p dwm-${VERSION}
dist: clean
@echo creating dist tarball
@mkdir -p dwm-${VERSION}
- @cp -R LICENSE Makefile README config.h config.mk \
- dwm.1
dwm.h tile.h
${SRC} dwm-${VERSION}
+ @cp -R LICENSE Makefile README config.
def.
h config.mk \
+ dwm.1 ${SRC} dwm-${VERSION}
@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
@gzip dwm-${VERSION}.tar
@rm -rf dwm-${VERSION}
@tar -cf dwm-${VERSION}.tar dwm-${VERSION}
@gzip dwm-${VERSION}.tar
@rm -rf dwm-${VERSION}