fix makefile
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
// print(model["materials"]
|
// print(model["materials"]
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "tiny_obj_loader.h"
|
#include "../tiny_obj_loader.h"
|
||||||
|
|
||||||
typedef std::vector<double> vectd;
|
typedef std::vector<double> vectd;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
# This makefile was generated by 'cbp2make' tool rev.147 #
|
# This makefile was generated by 'cbp2make' tool rev.147 #
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
#requirements : Python 3 (- dev)
|
|
||||||
|
|
||||||
WORKDIR = `pwd`
|
WORKDIR = `pwd`
|
||||||
|
|
||||||
@@ -62,8 +62,8 @@ out_debug: before_debug $(OBJ_DEBUG) $(DEP_DEBUG)
|
|||||||
$(OBJDIR_DEBUG)/main.o: main.cpp
|
$(OBJDIR_DEBUG)/main.o: main.cpp
|
||||||
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c main.cpp -o $(OBJDIR_DEBUG)/main.o
|
$(CXX) $(CFLAGS_DEBUG) $(INC_DEBUG) -c main.cpp -o $(OBJDIR_DEBUG)/main.o
|
||||||
|
|
||||||
$(OBJDIR_DEBUG)/tiny_obj_loader.o: tiny_obj_loader.cc
|
$(OBJDIR_DEBUG)/tiny_obj_loader.o: ../tiny_obj_loader.cc
|
||||||
$(CC) $(CFLAGS_DEBUG) $(INC_DEBUG) -c tiny_obj_loader.cc -o $(OBJDIR_DEBUG)/tiny_obj_loader.o
|
$(CC) $(CFLAGS_DEBUG) $(INC_DEBUG) -c ../tiny_obj_loader.cc -o $(OBJDIR_DEBUG)/tiny_obj_loader.o
|
||||||
|
|
||||||
clean_debug:
|
clean_debug:
|
||||||
rm -f $(OBJ_DEBUG) $(OUT_DEBUG)
|
rm -f $(OBJ_DEBUG) $(OUT_DEBUG)
|
||||||
@@ -84,8 +84,8 @@ out_release: before_release $(OBJ_RELEASE) $(DEP_RELEASE)
|
|||||||
$(OBJDIR_RELEASE)/main.o: main.cpp
|
$(OBJDIR_RELEASE)/main.o: main.cpp
|
||||||
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c main.cpp -o $(OBJDIR_RELEASE)/main.o
|
$(CXX) $(CFLAGS_RELEASE) $(INC_RELEASE) -c main.cpp -o $(OBJDIR_RELEASE)/main.o
|
||||||
|
|
||||||
$(OBJDIR_RELEASE)/tiny_obj_loader.o: tiny_obj_loader.cc
|
$(OBJDIR_RELEASE)/tiny_obj_loader.o: ../tiny_obj_loader.cc
|
||||||
$(CC) $(CFLAGS_RELEASE) $(INC_RELEASE) -c tiny_obj_loader.cc -o $(OBJDIR_RELEASE)/tiny_obj_loader.o
|
$(CC) $(CFLAGS_RELEASE) $(INC_RELEASE) -c ../tiny_obj_loader.cc -o $(OBJDIR_RELEASE)/tiny_obj_loader.o
|
||||||
|
|
||||||
clean_release:
|
clean_release:
|
||||||
rm -f $(OBJ_RELEASE) $(OUT_RELEASE)
|
rm -f $(OBJ_RELEASE) $(OUT_RELEASE)
|
||||||
|
|||||||
Reference in New Issue
Block a user