Source

pcw / Makefile

Diff from to
 	@echo CC -o $@
 	@${CC} -o $@ $< ${LDFLAGS}
 
-${OBJ}: config.h config.mk
-
-config.h:
-	@echo creating $@ from config.def.h
-	@cp config.def.h $@
+${OBJ}: config.mk
 
 clean:
 	@echo cleaning
 	@echo creating dist tarball
 	@mkdir -p pcw-${VERSION}
 	@cp -R LICENSE Makefile README config.mk pcw.1 \
-		ii*.diff config.def.h cw_color.sh ${SRC} pcw-${VERSION}
+		pcw_win.sh patches extras ${SRC} pcw-${VERSION}
 	@tar -cf pcw-${VERSION}.tar pcw-${VERSION}
 	@gzip pcw-${VERSION}.tar
 	@rm -rf pcw-${VERSION}
 	@mkdir -p ${DESTDIR}${PREFIX}/bin
 	@for bin in ${BIN}; do cp -f $$bin ${DESTDIR}${PREFIX}/bin/$$bin; done
 	@for bin in ${BIN}; do chmod 755   ${DESTDIR}${PREFIX}/bin/$$bin; done
+	@cp -f pcw_win.sh ${DESTDIR}${PREFIX}/bin/pcw_win.sh
+	@chmod 755  ${DESTDIR}${PREFIX}/bin/pcw_win.sh
 	@echo installing manual pages to ${DESTDIR}${MANPREFIX}/man1
 	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
 	@sed "s/VERSION/${VERSION}/g" < pcw.1 > ${DESTDIR}${MANPREFIX}/man1/pcw.1
 uninstall:
 	@echo removing executables from ${DESTDIR}${PREFIX}/bin
 	@for bin in ${BIN}; do rm -f ${DESTDIR}${PREFIX}/bin/$$bin; done
+	@rm -f ${DESTDIR}${PREFIX}/bin/pcw_win.sh
 	@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
 	@rm -f ${DESTDIR}${MANPREFIX}/man1/pcw.1