kicad/kicad/makefile.g95

34 lines
673 B
Plaintext

WXDIR = $(WXWIN)
EXTRALIBS = ../common/common.a
EXTRACPPFLAGS= -DKICAD -I./ -I../include -I../kicad -I../common
TARGET=kicad
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 -f $(TARGET).exe $(KICAD_BIN)
$(TARGET)_resources.o: $(TARGET).rc
$(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
$(TARGET).o: $(TARGET).cpp $(DEPEND) $(TARGET).h
clean :
-$(RM) *.o
-$(RM) *.exe
-$(RM) *.rsc
-$(RM) *.res
-$(RM) *.bak