tMakefile - lego_film_processor - software for rotary photographic film processor with Lego Mindstorms RCX
 (HTM) git clone git://src.adamsgaard.dk/lego_film_processor
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       tMakefile (426B)
       ---
            1 OUT = lego_jobo.rcx
            2 IRTOWER = /dev/ttyUSB0
            3 
            4 default: $(OUT)
            5 
            6 upload: $(OUT:.rcx=.nqc)
            7         sudo nqc -S$(IRTOWER) -d $<
            8 
            9 %.rcx: %.nqc
           10         nqc $<
           11 
           12 upload_firmware: firm0332.lgo
           13         sudo nqc -S$(IRTOWER) -firmware $<
           14 
           15 %.lgo: %.zip
           16         unzip $<
           17         touch $@
           18 
           19 firm0332.zip:
           20         curl -OL http://pbrick.info/wp-content/uploads/2013/10/firm0332.zip
           21 
           22 test:
           23         sudo nqc -S$(IRTOWER) -raw 5105
           24 
           25 clean:
           26         rm -f *.rcx
           27 
           28 .PHONY: clean upload upload_firmware test