Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
Refactored into multiple files
Browse files Browse the repository at this point in the history
Slightly reducing the ugliness of it by creating separate Renderer and
DisplayObject files and factories. Not perfect but it is a start.

Extended the build files to match the new structure.

Forced to define NEED_SPECIALIZATION_STORAGE on the compile line to stop
linking errors with g++-4.1. I've no idea if this is required for more
up to date compilers.
  • Loading branch information
michaeljones committed Feb 8, 2011
1 parent 5605e49 commit 5b24ccf
Show file tree
Hide file tree
Showing 12 changed files with 1,108 additions and 928 deletions.
2 changes: 2 additions & 0 deletions all.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
redo-ifchange particleviewer.so

3 changes: 3 additions & 0 deletions clean.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

rm -fr particleviewer.so src/*.o
4 changes: 4 additions & 0 deletions install.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
redo-ifchange all

cp particleviewer.so ~/houdini11.0/dso/GR_particleviewer.so

4 changes: 2 additions & 2 deletions particleviewer.so.do
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEPS="src/GR_particleviewer.o"
DEPS="src/GR_particleviewer.o src/Renderer.o src/DisplayObject.o src/plugin.o"

redo-ifchange $DEPS

g++-4.1 -shared $DEPS -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXext -lXi -ldl -o $3
g++-4.1 -o $3 -shared $DEPS -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXext -lXi -ldl

Loading

0 comments on commit 5b24ccf

Please sign in to comment.