3 # DO NOT CHANGE THE NEXT LINE. MAKE ALIASES ;)
8 DISTFILES
= README Makefile TODO config.def.h config.mk
${SRC}
12 ${OBJ}: config.h config.mk
14 config.h
: config.def.h
15 @echo creating
$@ from config.def.h
20 @
${CC} -o
$@
${OBJ} ${LDFLAGS}
23 @echo installing executable file to
${DESTDIR}${PREFIX}/bin
24 @mkdir
-p
${DESTDIR}${PREFIX}/bin
25 @cp
-f
${CODENAME} ${DESTDIR}${PREFIX}/bin
26 @chmod
755 ${DESTDIR}${PREFIX}/bin
/${CODENAME}
29 @echo removing executable file from
${DESTDIR}${PREFIX}/bin
30 @
${RM} ${DESTDIR}${PREFIX}/bin
/${CODENAME}
34 @
${RM} ${CODENAME} ${OBJ} ${CODENAME}-${VERSION}.
tar.gz
37 @echo creating
dist tarball
38 @mkdir
-p
${CODENAME}-${VERSION}
39 @cp
${DISTFILES} ${CODENAME}-${VERSION}
40 @
tar -cf
${CODENAME}-${VERSION}.
tar ${CODENAME}-${VERSION}
41 @gzip
${CODENAME}-${VERSION}.
tar
42 @
${RM} -r
${CODENAME}-${VERSION}