Skript file: /~heha/ewa/PIC16F145x-Urlader/bootCDC1.zip/Makefile

# Requires GPASM (gputils)
# Run `make` to build the project as a .hex file.

# Project name
P = bootCDC
D = p16f1454

all: $P-hvp.hex $P-lvp.hex $P-lvp-w.hex check-reset-by-mclr.hex
# Assemble non-relocateable assembly source file, therefore emit HEX file
%.hex: %.a15 mymacros.i15
	gpasm -p $D -o $@ $<
# Disassemble
dis: $P-lvp.dis $P-hvp.dis

%.dis: %.hex
	gpdasm -p $D -nt $< >$@
# Clean
clean:
	-rm -f *.hex *.cod *.lst *.dis
.PHONY: clean dis
Detected encoding: ASCII (7 bit)2