Makefile 264 B

12345678910111213141516171819202122
  1. BDFS = $(wildcard *.bdf)
  2. PCFS = $(BDFS:%.bdf=%.pcf)
  3. OTBS = $(BDFS:%.bdf=%.otb)
  4. all: pcfs otbs
  5. pcfs: $(PCFS)
  6. $(PCFS): %.pcf: %.bdf
  7. bdftopcf -o $@ $^
  8. otbs: $(OTBS)
  9. $(OTBS): %.otb: %.bdf
  10. fonttosfnt -o $@ $^
  11. clean:
  12. rm -f *.pcf
  13. rm -f *.otb
  14. .PHONY: all clean