Miscellaneous code that doesn't have a better home.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
165 B

FILES_IN := $(shell ls *NEF)
FILES_OUT := $(FILES_IN:.NEF=.jpg)
all: $(FILES_OUT)
%.ppm: %.NEF
dcraw -o 1 -q 3 -w -v $<
%.jpg: %.ppm
convert $< -quality 85 $@