## Makefile for PCBNEW et wxGTK


include ../libs.linux

# Additional compiler flags
CPPFLAGS +=


TARGET = pcbnew

all: $(TARGET)

include makefile.include

CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)


$(TARGET): $(OBJECTS) makefile.gtk  makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ../libs.linux
		$(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS_WITH_GL)\
		-o $(TARGET)
		
		
install: $(TARGET)
		cp $(TARGET) $(KICAD_BIN)


clean:
	rm -f *.o
	rm -f *.map
	rm -f $(TARGET)



