|
|
@ -18,7 +18,11 @@ options: |
|
|
|
@echo CC $<
|
|
|
|
@echo CC $<
|
|
|
|
@${CC} -c ${CFLAGS} $<
|
|
|
|
@${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} |
|
|
|
slock: ${OBJ} |
|
|
|
@echo CC -o $@
|
|
|
|
@echo CC -o $@
|
|
|
@ -31,7 +35,7 @@ clean: |
|
|
|
dist: clean |
|
|
|
dist: clean |
|
|
|
@echo creating dist tarball
|
|
|
|
@echo creating dist tarball
|
|
|
|
@mkdir -p slock-${VERSION}
|
|
|
|
@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}
|
|
|
|
@tar -cf slock-${VERSION}.tar slock-${VERSION}
|
|
|
|
@gzip slock-${VERSION}.tar
|
|
|
|
@gzip slock-${VERSION}.tar
|
|
|
|
@rm -rf slock-${VERSION}
|
|
|
|
@rm -rf slock-${VERSION}
|
|
|
|