diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..6d6655f8e09a8985dac12a6b3d397d0b53294e52 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +default: + @echo 'make tar DIRECTORY=Aufgabenblatt_X | creates a tar archiv for given pattern' + @echo 'make clean | removed all class and tmp files' + +tar: + tar czf Algodat_2012-$(DIRECTORY)-dmeiss2s.tar.gz $(DIRECTORY)* --exclude=nbproject --exclude=manifest.mf --exclude=build --exclude==dist/ --exclude=.class --exclude=build.xml --exclude=dist --exclude="*.dia" + mv $(IRECTORY)*.tar.gz ~/Downloads/ + +clean: + find . -name "*class" -exec rm {} \;