makefile.include 3.6 KB
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
# makefile pour cvpcb (mingw)
OBJSUFF = o

EXTRACPPFLAGS += -DCVPCB -fno-strict-aliasing -I./ -I../cvpcb -I../include -Ibitmaps -I../pcbnew -I../3d-viewer
EXTRALIBS = ../common/common.a

LIBVIEWER3D = ../3d-viewer/3d-viewer.a

# DEPEND = cvpcb.h ../include/pcbstruct.h

OBJECTS = $(TARGET).o \
			class_cvpcb.o\
            memoire.o \
			cvframe.o\
			listboxes.o\
			drawframe.o\
			class_pcb_text.o\
			class_cotation.o\
			class_mire.o\
			displayframe.o\
			drawpanel.o \
			init.o rdpcad.o \
			readschematicnetlist.o\
			viewlogi.o viewlnet.o \
			loadcmp.o savecmp.o \
			tool_cvpcb.o \
			writenetlistpcbnew.o\
			genequiv.o \
			ioascii.o \
			menucfg.o \
			cfg.o listlib.o \
			infospgm.o autosel.o \
			setvisu.o\
			dialog_display_options.o\
			zoom.o \
			visumod.o\
			tracemod.o \
 			classpcb.o \
			class_board.o \
			class_module.o \
			class_pad.o \
			class_text_mod.o \
			class_edge_mod.o \
			class_equipot.o \
			class_track.o\
			basepcbframe.o

cvpcb.o: cvpcb.cpp cvpcb.h $(DEPEND)

displayframe.o: displayframe.cpp $(DEPEND)

listboxes.o: listboxes.cpp $(DEPEND)

drawpanel.o: ../share/drawpanel.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

drawframe.o: ../share/drawframe.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

init.o: init.cpp $(DEPEND)

memoire.o: memoire.cpp $(DEPEND)

rdpcad.o: rdpcad.cpp $(DEPEND)

classpcb.o: ../pcbnew/classpcb.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_mire.o: ../pcbnew/class_mire.cpp ../pcbnew/class_mire.h $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_cotation.o: ../pcbnew/class_cotation.cpp ../pcbnew/class_cotation.h $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_pcb_text.o: ../pcbnew/class_pcb_text.cpp ../pcbnew/class_pcb_text.h $(COMMON)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_board.o: ../pcbnew/class_board.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_track.o: ../pcbnew/class_track.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_pad.o: ../pcbnew/class_pad.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_module.o: ../pcbnew/class_module.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_text_mod.o: ../pcbnew/class_text_mod.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_edge_mod.o: ../pcbnew/class_edge_mod.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_equipot.o: ../pcbnew/class_equipot.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

basepcbframe.o: ../pcbnew/basepcbframe.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

readschematicnetlist.o: readschematicnetlist.cpp $(DEPEND)

viewlogi.o: viewlogi.cpp $(DEPEND)

viewlnet.o: viewlnet.cpp $(DEPEND)

loadcmp.o: loadcmp.cpp $(DEPEND)

savecmp.o: savecmp.cpp $(DEPEND)

writenetlistpcbnew.o: writenetlistpcbnew.cpp $(DEPEND)

genequiv.o: genequiv.cpp $(DEPEND)

ioascii.o: ../pcbnew/ioascii.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

listlib.o: listlib.cpp $(DEPEND)

cfg.o: cfg.cpp cfg.h $(DEPEND)

menucfg.o: menucfg.cpp dialog_cvpcb_config.cpp dialog_cvpcb_config.h $(DEPEND)

infospgm.o: ../share/infospgm.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

autosel.o: autosel.cpp $(DEPEND)

setvisu.o: setvisu.cpp $(DEPEND)

zoom.o: ../share/zoom.cpp $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../share/$*.cpp

visumod.o: visumod.cpp $(DEPEND)

tracemod.o: ../pcbnew/tracemod.cpp ../include/gr_basic.h $(DEPEND)
	$(CC) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

dialog_display_options.o: dialog_display_options.cpp dialog_display_options.h $(DEPEND)