2007-06-05 12:10:51 +00:00
|
|
|
#makefile for pcbnew, Windows
|
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
2008-02-02 12:42:43 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
TARGET=pcbnew
|
|
|
|
|
|
|
|
include ../libs.win
|
|
|
|
|
|
|
|
all: $(TARGET).exe
|
|
|
|
|
|
|
|
include makefile.include
|
|
|
|
|
|
|
|
$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o\
|
2009-04-06 10:56:17 +00:00
|
|
|
$(EDALIBS) $(LIBVIEWER3D) makefile.mingw
|
2007-06-05 12:10:51 +00:00
|
|
|
$(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe\
|
|
|
|
$(OBJECTS) $(LIBVIEWER3D) $(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB)
|
2008-12-04 20:53:11 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
install: $(TARGET).exe
|
|
|
|
cp $(TARGET).exe $(KICAD_BIN)
|
|
|
|
|
|
|
|
|
|
|
|
$(TARGET)_resources.o: $(TARGET).rc icon_pcbnew.ico icon_modedit.ico icon_w3d.ico
|
|
|
|
$(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
clean :
|
|
|
|
-$(RM) *.o
|
|
|
|
-$(RM) *.exe
|
|
|
|
-$(RM) *.rsc
|
|
|
|
-$(RM) *.res
|
|
|
|
-$(RM) *.bak
|
|
|
|
|