Skip to content

Commit

Permalink
release v1
Browse files Browse the repository at this point in the history
  • Loading branch information
aumj committed Mar 5, 2017
1 parent 82affb5 commit ea54cfa
Show file tree
Hide file tree
Showing 101 changed files with 41,501 additions and 150 deletions.
Binary file added KDTree
Binary file not shown.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CC = gcc
CXX = g++
CXXFLAGS:= -std=c++11 -Wall -c -I./include/
LIBS =-lstdc++ -lm

SRC := $(wildcard src/*.cpp)
OBJS := $(patsubst %.cpp,%.o,$(SRC))
DS := $(patsubst %.cpp,%.d,$(SRC))
EXOBJS := $(patsubst %.cpp,%.o,$(SRC))
RM=rm -f

all : $(EXOBJS)
$(CXX) -o KDTree $(EXOBJS) $(LIBS)
$(RM) $(OBJS) $(EXOBJS) $(DS)

clean :
clear
$(RM) $(OBJS) $(EXOBJS) $(DS)
$(RM) KDTree

default : all
10 changes: 10 additions & 0 deletions Makefile2.txt~
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CPP_FILES:=$(wildcard src/*.cpp)
OBJ_FILES:=$(addprefix obj/,$(notdir $(CPP_FILES:.cpp=.o)))
LD_FLAGS:=-lm
CC=g++ -std=c++11
CC_FLAGS=-Wall

KDTREE.o:$(OBJ_FILES)
$(CC) $(OBJECTS) -o $@ $^
obj/%.o:src/%.cpp
$(CC) -c $(CC_FLAGS) $< -o $@
24 changes: 24 additions & 0 deletions Makefile~
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
CC = gcc
CXX = g++
CXXFLAGS:= -std=c++11 -Wall -c -I./include/
LIBS =-lstdc++ -lm

SRC := $(wildcard src/*.cpp)
OBJS := $(patsubst %.cpp,%.o,$(SRC))
DS := $(patsubst %.cpp,%.d,$(SRC))
EXOBJS := $(patsubst %.cpp,%.o,$(SRC))
RM=rm -f

full : $(EXOBJS)
$(CXX) -o KDTree $(EXOBJS) $(LIBS)

all : $(EXOBJS)
$(CXX) -o KDTree $(EXOBJS) $(LIBS)
$(RM) $(OBJS) $(EXOBJS) $(DS)

clean :
clear
$(RM) $(OBJS) $(EXOBJS) $(DS)
$(RM) KDTree

default : all
2 changes: 0 additions & 2 deletions bin/bin.txt

This file was deleted.

11,008 changes: 11,008 additions & 0 deletions data/sample_tree.json

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions doc/doc.txt

This file was deleted.

Loading

0 comments on commit ea54cfa

Please sign in to comment.