1 # Makefile for bellctrl 2 3 all: bellctrl sample.fm 4 5 sample.fm: sample_fm.c 6 $(CC) -c -o sample.aout ${.CURDIR}/sample_fm.c 7 strip sample.aout 8 dd bs=1 skip=32 count=52 if=sample.aout of=$@ 9 rm sample.aout 10 11 PROG = bellctrl 12 CFLAGS+=-I${.CURDIR}/../../.. 13 14 .include <bsd.prog.mk> 15