makefile.g95 575 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
# File:		makefile for eeschema, mingw


TARGET=eeschema

WXDIR = $(WXWIN)
include ../libs.win


all: $(TARGET).exe

include makefile.include


$(TARGET).exe: $(OBJECTS) $(TARGET)_resources.o $(EDALIBS)
	$(CXX) $(ALL_LDFLAGS) -o $(TARGET).exe $(OBJECTS)\
			$(TARGET)_resources.o $(EDALIBS) $(SYSWXLIB)
			
install: $(TARGET).exe
	cp -v $(TARGET).exe $(KICAD_BIN)


$(TARGET)_resources.o:  $(TARGET).rc
	$(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
	
clean :
	-$(RM) *.o
	-$(RM) *.rsc
	-$(RM) *.res
	-$(RM) *.exe
	-$(RM) *.bak