Skript file: /~heha/basteln/Haus/Licht/Funklicht.zip/lve/Makefile

# Requires GPASM (gputils)
# „make“ aufrufen um .hex-Datei zu erstellen.

# Project name
P = lve
D = p12f508

all: $P.hex

$P.hex: *.a1? Makefile
	gpasm -X -S1 -p $D $<

# Disassemble
dis: $P.dis

%.dis: %.hex
	gpdasm -p $D -nt $< >$@
# Clean
clean:
	-rm -f *.hex *.cod *.lst *.dis
.PHONY: clean dis
Detected encoding: UTF-80