CFLAGS = -Wall PROGS = fwextract fwcs fwpack all: $(PROGS) fwpack: fwpack.c fwhead.h $(CC) $(CFLAGS) $< -o $@ fwhead.h: @echo 'Runing extract_head.pl now. If this fails, you might have to run it by hand' @echo 'to specify the right sample bundle.' ./extract_head.pl clean: rm -f $(PROGS) fwhead.h install: @echo 'Since these are not quite general-purpose tools, there is no install target.' @echo 'If you want, you can move these tools somewhere into your $PATH yourself.'