Skip to content

Commit 878a656

Browse files
author
root
committed
fix makefile
1 parent 80b2430 commit 878a656

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

python/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// print(model["materials"]
88
#include <Python.h>
99
#include <vector>
10-
#include "tiny_obj_loader.h"
10+
#include "../tiny_obj_loader.h"
1111

1212
typedef std::vector<double> vectd;
1313

python/pyTOL.cbp.mak

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#------------------------------------------------------------------------------#
22
# This makefile was generated by 'cbp2make' tool rev.147 #
33
#------------------------------------------------------------------------------#
4-
#requirements : Python 3 (- dev)
4+
55

66
WORKDIR = `pwd`
77

@@ -62,8 +62,8 @@ out_debug: before_debug $(OBJ_DEBUG) $(DEP_DEBUG)
6262
$(OBJDIR_DEBUG)/main.o: main.cpp
6363
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c main.cpp -o $(OBJDIR_DEBUG)/main.o
6464

65-
$(OBJDIR_DEBUG)/tiny_obj_loader.o: tiny_obj_loader.cc
66-
$(CC) $(CFLAGS_DEBUG) $(INC_DEBUG) -c tiny_obj_loader.cc -o $(OBJDIR_DEBUG)/tiny_obj_loader.o
65+
$(OBJDIR_DEBUG)/tiny_obj_loader.o: ../tiny_obj_loader.cc
66+
$(CC) $(CFLAGS_DEBUG) $(INC_DEBUG) -c ../tiny_obj_loader.cc -o $(OBJDIR_DEBUG)/tiny_obj_loader.o
6767

6868
clean_debug:
6969
rm -f $(OBJ_DEBUG) $(OUT_DEBUG)
@@ -84,8 +84,8 @@ out_release: before_release $(OBJ_RELEASE) $(DEP_RELEASE)
8484
$(OBJDIR_RELEASE)/main.o: main.cpp
8585
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c main.cpp -o $(OBJDIR_RELEASE)/main.o
8686

87-
$(OBJDIR_RELEASE)/tiny_obj_loader.o: tiny_obj_loader.cc
88-
$(CC) $(CFLAGS_RELEASE) $(INC_RELEASE) -c tiny_obj_loader.cc -o $(OBJDIR_RELEASE)/tiny_obj_loader.o
87+
$(OBJDIR_RELEASE)/tiny_obj_loader.o: ../tiny_obj_loader.cc
88+
$(CC) $(CFLAGS_RELEASE) $(INC_RELEASE) -c ../tiny_obj_loader.cc -o $(OBJDIR_RELEASE)/tiny_obj_loader.o
8989

9090
clean_release:
9191
rm -f $(OBJ_RELEASE) $(OUT_RELEASE)

0 commit comments

Comments
 (0)