Permalink
Browse files

added TransientObject to the Makefile

  • Loading branch information...
danheeks
danheeks committed Sep 7, 2010
1 parent c9ecc2a commit 43fe17db8f5d2dd4eb6dfe448a21f4d12c4cacda
Showing with 4 additions and 5 deletions.
  1. +0 −4 HeeksArt.cpp
  2. +4 −1 Makefile
View
@@ -154,11 +154,7 @@ wxString CHeeksArtApp::GetDllFolder()
wxString CHeeksArtApp::GetResFolder()
{
-#if defined(WIN32) || defined(RUNINPLACE) //compile with 'RUNINPLACE=yes make' then skip 'sudo make install'
return m_dll_path;
-#else
- return (m_dll_path + _T("/../../share/heekscnc"));
-#endif
}
class MyApp : public wxApp
View
@@ -4,7 +4,7 @@ CCFLAGS=-Wall -fPIC -g -I "./" -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I
#WX_LIB_LETTER=d
WX_LIB_LETTER=u
-OBJECTS=HeeksArt.o HeeksColor.o HeeksObj.o Interface.o Matrix.o Mesh.o MeshChild.o MeshEdge.o MeshFace.o MeshPosition.o MeshVertex.o ObjList.o Plane.o PropertyCheck.o PropertyChoice.o PropertyColor.o PropertyDouble.o PropertyInt.o PropertyList.o PropertyString.o PropertyVertex.o tinyxml.o tinyxmlerror.o tinyxmlparser.o ToolImage.o
+OBJECTS=HeeksArt.o HeeksColor.o HeeksObj.o Interface.o Matrix.o Mesh.o MeshChild.o MeshEdge.o MeshFace.o MeshPosition.o MeshVertex.o ObjList.o Plane.o PropertyCheck.o PropertyChoice.o PropertyColor.o PropertyDouble.o PropertyInt.o PropertyList.o PropertyString.o PropertyVertex.o tinyxml.o tinyxmlerror.o tinyxmlparser.o ToolImage.o TransientObject.o
SHARED_LIBRARY=./libheeksart.so.0.1.0
@@ -86,6 +86,9 @@ tinyxmlparser.o: $(HEEKSCADPATH)/tinyxml/tinyxmlparser.cpp
ToolImage.o: $(HEEKSCADPATH)/interface/ToolImage.cpp
gcc -c $? ${CCFLAGS} -o $@
+TransientObject.o: $(HEEKSCADPATH)/interface/TransientObject.cpp
+ gcc -c $? ${CCFLAGS} -o $@
+
clean:
-rm ${SHARED_LIBRARY} ${OBJECTS}

0 comments on commit 43fe17d

Please sign in to comment.