Skip to content

Instantly share code, notes, and snippets.

@ali1234
Created August 15, 2017 18:24
Show Gist options
  • Save ali1234/61bc06e14972396cd9df537ee03d3670 to your computer and use it in GitHub Desktop.
Save ali1234/61bc06e14972396cd9df537ee03d3670 to your computer and use it in GitHub Desktop.
.SUFFIXES: .pov .png
FINAL_IMAGES=block-bg-all.png block-spec-all.png block-spec-ext.png block-mask-inverted.png
PREVIEW_IMAGES=block-preview-render.png
TEMP_IMAGES=block-mask-inverted.png
TS=128
all: $(FINAL_IMAGES) preview
dist: $(FINAL_IMAGES) dist-clean
preview: $(PREVIEW_IMAGES)
.pov.png: block.inc
povray +I$< +O$@ +H$(TS) +W$(TS) +Q9
clean:
rm -f $(FINAL_IMAGES)
rm -f $(PREVIEW_IMAGES)
rm -f $(TEMP_IMAGES)
dist-clean:
rm -f $(PREVIEW_IMAGES)
rm -f $(TEMP_IMAGES)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment