Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Install the voxelyze library.

cd Voxelyze
make
make installusr
cd ../voxelyzeMain/
make

Expand Down
13 changes: 6 additions & 7 deletions _voxcad/voxelyzeMain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ LIBRARY_ROOT_PATH = $(HOME)


VOXELYZE_VERSION = voxelyze.0.9
VOXELYZE_LIB_NAME = lib$(VOXELYZE_VERSION).a
VOXELYZE_INC_PATH = $(LIBRARY_ROOT_PATH)/include/$(VOXELYZE_VERSION)/
# VOXELYZE_LIB_NAME = lib$(VOXELYZE_VERSION).a
VOXELYZE_PATH = ../Voxelyze/

LIBRARY_INCLUDES = \
-I$(VOXELYZE_INC_PATH)
-I$(VOXELYZE_PATH)



Expand Down Expand Up @@ -37,7 +37,7 @@ CPPFLAGS= $(CFLAGS)


LINK = \
-L$(LIBRARY_ROOT_PATH)/lib -l$(VOXELYZE_VERSION) \
-L$(VOXELYZE_PATH) -l$(VOXELYZE_VERSION) \
-lm -lstdc++


Expand All @@ -46,15 +46,14 @@ all: voxelyze



voxelyze: main.o $(LIBRARY_ROOT_PATH)/lib/lib$(VOXELYZE_VERSION).a
voxelyze: main.o
$(CC) $(CFLAGS) main.o $(LINK) -o voxelyze


main.o: main.cpp
$(CC) $(CFLAGS) -c main.cpp

oa_ex1: main.o \
$(LIBRARY_ROOT_PATH)/lib/lib$(OPTALG_VERSION).a
oa_ex1: main.o
$(CC) $(CFLAGS) main.o $(LINK) -o oa_ex1


Expand Down