123456789101112131415161718192021222324 |
- TOOLS = ../../tools
- PERLINC = $(TOOLS)/perlinc
- PERL = /usr/bin/perl
- PERLOPT = -I$(PERLINC)
- TARGETS = usb_desc.v
- ALSO = usb_desc.bin
- includes = ../../iodevs.conf
- all: $(TARGETS) $(ALSO)
- %.v: %.conf $(TOOLS)/usbdescgen.pl $(includes)
- $(PERL) $(PERLOPT) $(TOOLS)/usbdescgen.pl v $< $@
- %.bin: %.conf $(TOOLS)/usbdescgen.pl $(includes)
- $(PERL) $(PERLOPT) $(TOOLS)/usbdescgen.pl bin $< $@
- clean:
- rm -f $(ALSO) *.bin
- spotless: clean
- rm -f $(TARGETS) *~ .\#* \#* *.bak
|