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.

21 lines
442 B

  1. EAGLE ?= /usr/bin/eagle
  2. cwd := $(shell pwd)
  3. all: SideA.zip SideB.zip
  4. %.zip: %.brd
  5. # eagle has no option to run the cam processor with a certain
  6. # job file ...
  7. $(EAGLE) -C "MANUFACTURING CAM;" $<
  8. # generates the panel using the script for eagle
  9. SideA.brd SideB.brd: master.brd
  10. $(EAGLE) -C "RUN $(cwd)/genpanel.ulp; QUIT;" "$<"
  11. master.brd: ../weihnachtsbaum2.0.brd
  12. cp "$<" "$@"
  13. clean:
  14. rm -rf master.brd SideA.brd SideB.brd *.*#*