NIPS demo

This commit is contained in:
Joseph Redmon
2015-06-10 00:22:48 -07:00
parent cbc9984a17
commit a79299d317
3 changed files with 12 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
GPU=1
OPENCV=1
GPU=0
OPENCV=0
DEBUG=0
ARCH= -arch=sm_52
@@ -42,7 +42,7 @@ endif
OBJS = $(addprefix $(OBJDIR), $(OBJ))
DEPS = $(wildcard src/*.h) Makefile
all: $(EXEC)
all: obj $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(COMMON) $(CFLAGS) $(LDFLAGS) $^ -o $@
@@ -53,6 +53,10 @@ $(OBJDIR)%.o: %.c $(DEPS)
$(OBJDIR)%.o: %.cu $(DEPS)
$(NVCC) $(ARCH) $(COMMON) --compiler-options "$(CFLAGS)" -c $< -o $@
obj:
mkdir -p obj
.PHONY: clean
clean: