# http://neil.franklin.ch/Projects/SoftVGA/Makefile # author Neil Franklin, last modification 2008.09.21 # --- various site dependant user config variables # for creating an [-].tar.gz archive DIR = SoftVGA # program we are currently working on PROG = blink # --- no user configurable stuff below here # --- code for acting out the various make targets all: @# actual programs need assembling @avra -fI -o $(PROG).hex -l $(PROG).list $(PROG).asm clean: @rm -f $(PROG).cof $(PROG).eep.hex $(PROG).hex $(PROG).list $(PROG).obj distclean: clean install: @# install/upload/flash onto ATmega @avrdude -v -c pony-stk200 -p m32 -U flash:w:$(PROG).hex uninstall: @# do nothing, no uninstalling, only overwriting @echo "How do I uninstall something from Flash?" # --- project management stuff tar: @# package this project into an .tar.gz for one nice download @echo packaging source and doc files into an .tar.gz ... @(cd .. ; tar zcf $(DIR).tar.gz \ $(DIR)/Controller_Selection $(DIR)/FAQ $(DIR)/Generating_VGA_Text \ $(DIR)/INSTALL $(DIR)/Logfile $(DIR)/Makefile $(DIR)/README \ $(DIR)/System_Requirements $(DIR)/Video_Signals \ $(DIR)/index.html.de $(DIR)/index.html.en $(DIR)/m32def.inc \ $(DIR)/blink_test $(DIR)/vga_static )