X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=tropbot.git;a=blobdiff_plain;f=Makefile;h=1e3359acfb17c30cbe35b01ad6e1f62c8bc7c80e;hp=1c72cafb347dccf8299697be218d235914182736;hb=refs%2Fheads%2Fmaster;hpb=d77d32bc8815f956ec519b946b8ae563b527b599 diff --git a/Makefile b/Makefile index 1c72caf..1e3359a 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ OPTIONS = -g # add -lsocket -lnsl for SOLARIS LIBS = +ARCHIVE_NAME = tropbot_2.9.3a all: tropbot @@ -25,9 +26,7 @@ clean: rm *.o tropbot archive: - rm -f ../tropbot.tar.gz - tar -cvf ../tropbot.tar *.cc *.h *.txt Makefile - gzip ../tropbot.tar + cd ..; tar -cvf $(ARCHIVE_NAME).tar tropbot/*.cc tropbot/*.h tropbot/Makefile tropbot/*.txt; gzip $(ARCHIVE_NAME).tar; mv -f $(ARCHIVE_NAME).tar.gz $(ARCHIVE_NAME).tgz count: wc *.cc *.h Makefile