delete "old" makefiles. Use CMakefiles only
This commit is contained in:
parent
13a1c6be37
commit
56b8789798
|
@ -1,32 +0,0 @@
|
|||
## Makefile for 3d-viewer.a ( wxGTK - LINUX )
|
||||
|
||||
include ../libs.linux
|
||||
|
||||
# Compiler flags.
|
||||
CPPFLAGS += -DPCBNEW -I../pcbnew -I ../include -I../common
|
||||
|
||||
TARGET = 3d-viewer
|
||||
|
||||
FINAL = 1
|
||||
|
||||
all: $(TARGET).a
|
||||
|
||||
deps:
|
||||
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||
|
||||
include makefile.include
|
||||
-include *.d
|
||||
|
||||
$(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
||||
rm -f $@
|
||||
ar -rv $@ $(OBJECTS3D)
|
||||
ranlib $@
|
||||
|
||||
install:$(TARGET).a
|
||||
|
||||
clean:
|
||||
rm -f *.o *.exe *.res *.map *.d
|
||||
rm -f $(TARGET).a
|
||||
|
||||
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
EXTRALIBS =
|
||||
EXTRACPPFLAGS= -I./ -I../include -I../common -I../polygon -I../pcbnew
|
||||
|
||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||
|
||||
OBJECTS3D = 3d_frame.o 3d_read_mesh.o 3d_canvas.o trackball.o 3d_aux.o\
|
||||
3d_draw.o 3d_toolbar.o 3d_class.o
|
||||
|
||||
3d_class.o: 3d_class.cpp 3d_struct.h 3d_viewer.h
|
||||
|
||||
3d_read_mesh.o: 3d_read_mesh.cpp 3d_struct.h 3d_viewer.h
|
||||
|
||||
3d_frame.o: 3d_frame.cpp 3d_viewer.h
|
||||
|
||||
3d_canvas.o: 3d_canvas.cpp 3d_viewer.h
|
||||
|
||||
3d_aux.o: 3d_aux.cpp 3d_viewer.h
|
||||
|
||||
3d_draw.o: 3d_draw.cpp 3d_viewer.h 3d_struct.h
|
||||
|
||||
3d_toolbar.o: 3d_toolbar.cpp 3d_viewer.h
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
WXDIR = $(WXWIN)
|
||||
|
||||
TARGET=3d-viewer
|
||||
DLLSUFF=.dll
|
||||
|
||||
include ../libs.win
|
||||
|
||||
DLLGEN=dllwrap --export-all --output-def $(TARGET).def --implib lib$(TARGET).a --driver-name c++
|
||||
|
||||
all: $(TARGET).a
|
||||
|
||||
include makefile.include
|
||||
|
||||
|
||||
$(TARGET).a: $(OBJECTS3D)
|
||||
ar ruv $@ $(OBJECTS3D)
|
||||
ranlib $@
|
||||
|
||||
|
||||
clean :
|
||||
rm -f *.o
|
||||
rm -f *.bak
|
||||
rm -f $(TARGET).a
|
||||
|
Loading…
Reference in New Issue