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.

32 lines
648 B

  1. #makefile for pcbnew, Windows
  2. WXDIR = $(WXWIN)
  3. TARGET=pcbnew
  4. include ../libs.win
  5. all: $(TARGET).exe
  6. include makefile.include
  7. $(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o\
  8. $(EDALIBS) $(LIBVIEWER3D) makefile.g95
  9. $(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe\
  10. $(OBJECTS) $(LIBVIEWER3D) $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB)
  11. install: $(TARGET).exe
  12. cp $(TARGET).exe $(KICAD_BIN)
  13. $(TARGET)_resources.o: $(TARGET).rc icon_pcbnew.ico icon_modedit.ico icon_w3d.ico
  14. $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
  15. clean :
  16. -$(RM) *.o
  17. -$(RM) *.exe
  18. -$(RM) *.rsc
  19. -$(RM) *.res
  20. -$(RM) *.bak