Skript file: /~heha/basteln/PC/oszi/PCS500/Firmware.zip/bootCDC/Makefile

# Requires GPASM (gputils)
# Copyright (c) 2015, Matt Sarnoff (msarnoff.org)
# Run `make` to build the project as a .hex file.

# Project name
OUT = bootCDC
DEVICE = p16f1454
# Assemble non-relocateable assambly source file, therefore emit HEX file
$(OUT).hex: bootCDC.asm
	gpasm -p $(DEVICE) -o $@ $<
# Disassemble
dis: $(OUT).hex
	gpdasm -p $(DEVICE) $<
# Clean
clean:
	rm -f $(ASM:.asm=.lst) $(OUT).hex $(OUT).cod $(OUT).lst
.PHONY: clean dis
Detected encoding: ASCII (7 bit)2