summaryrefslogtreecommitdiffstats
path: root/src/extension/dxf2svg/Makefile
blob: d0f06daf059b6a8a8b73412bdcf55f51e59056da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
objs = read_dxf.o entities.o entities2elements.o tables.o tables2svg_info.o blocks.o
flags = -O1

dxf2svg : dxf2svg.cpp $(objs)
	g++ $(flags) -o dxf2svg dxf2svg.cpp $(objs)

test : test_dxf.cpp $(objs)
	g++ $(flags) -o test test_dxf.cpp $(objs)
	
%.o : %.cpp %.h 
	g++ $(flags) -c $<
	
clean :
	rm dxf2svg $(objs)

install:
	echo ****User intervention required****
	echo
	echo Copy dxf2svg executable and dxf2svg.inx to share/extension directory
	echo Make sure file permissions are set correctly