# Makefile for PIC ledtst.asm test program # $Id: Makefile,v 1.13 2002/03/25 17:30:48 tundra Exp tundra $ #BURN_PGM = c:/usr/local/PIC/pp/pp #BURN_OPT = "-!" #VRFY_OPT = "-!v" BURN_PGM = c:/usr/local/PIC/fpp/fppdos.exe GENERAL_OPT = -! -h3:1 -t20 DUMP_OPT = -d VRFY_OPT = -v ERASE_OPT = -e INC_DIR = ../include SRC_FILE = leddrvr.asm RELEASE_FILES = leddrvr.asm leddrvr-license.txt readme.txt RELEASE_FILES1 = leddrvr.hex leddrvr.lst leddrvr.xrf RELEASE_DIR = Latest-Release SCHEMATIC_DIR = Schematic ASM_OPTIONS = /dINCFILES=${INC_DIR} /t8 /x /q a all assemble: @c:/progra~1/mplab/mpasm ${ASM_OPTIONS} ${SRC_FILE} @ls -l *err b burn: @${BURN_PGM} ${GENERAL_OPT} leddrvr.hex @make verify c clean: @rm -f *.cod *.err *.hex *.lst *.obj *.xrf dump*.hex *~ *#* \#* *.erc d dump: @${BURN_PGM} ${GENERAL_OPT} ${DUMP_OPT} dump_leddrvr.hex e erase: @${BURN_PGM} ${GENERAL_OPT} ${ERASE_OPT} r release: @- mkdir ${RELEASE_DIR} @- co -l ${RELEASE_FILES} @make assemble @mv ${RELEASE_FILES} ${RELEASE_DIR} @mv ${RELEASE_FILES1} ${RELEASE_DIR} @cp Makefile ${RELEASE_DIR} @cp ${SCHEMATIC_DIR}/* ${RELEASE_DIR} @rlog ${SRC_FILE} >${RELEASE_DIR}/CHANGELOG @make clean rc relclean: @- rm -rf ${RELEASE_DIR} @make clean v verify: @${BURN_PGM} ${GENERAL_OPT} ${VRFY_OPT} leddrvr.hex