Xinqi Bao's Git
projects
/
slock.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Blank the screen with color 0, add third color for failed logins
[slock.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2036f04
..
1017ac2
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,5
@@
# slock - simple screen locker
# slock - simple screen locker
-#
© 2006-2007 Anselm R. Garbe, Sander van Dijk
+#
See LICENSE file for copyright and license details.
include config.mk
include config.mk
@@
-18,7
+18,11
@@
options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
slock: ${OBJ}
@echo CC -o $@
slock: ${OBJ}
@echo CC -o $@
@@
-31,7
+35,7
@@
clean:
dist: clean
@echo creating dist tarball
@mkdir -p slock-${VERSION}
dist: clean
@echo creating dist tarball
@mkdir -p slock-${VERSION}
- @cp -R LICENSE Makefile README config.mk ${SRC} slock-${VERSION}
+ @cp -R LICENSE Makefile README config.
def.h config.
mk ${SRC} slock-${VERSION}
@tar -cf slock-${VERSION}.tar slock-${VERSION}
@gzip slock-${VERSION}.tar
@rm -rf slock-${VERSION}
@tar -cf slock-${VERSION}.tar slock-${VERSION}
@gzip slock-${VERSION}.tar
@rm -rf slock-${VERSION}