|
|
|
@ -18,7 +18,11 @@ options:
|
|
|
|
|
@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 $@
|
|
|
|
@ -31,7 +35,7 @@ clean:
|
|
|
|
|
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}
|
|
|
|
|