Skip to content
Snippets Groups Projects
Commit 5c6076ad authored by floreal.risso's avatar floreal.risso
Browse files

temp change of the make file

parent 5b6f0ec8
Branches dev
No related tags found
2 merge requests!9fix sensor example (doc),!5Add dev name to labels
......@@ -17,9 +17,9 @@ OBJ = \
$(OBJ_DIR)/util.o
CC = gcc
CPPFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-unused-function -I./lib
CPPFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-unused-function -I./lib -I/usr/local/cuda/include
CFLAGS = $(CPPFLAGS) -O3 -Werror
LDFLAGS =
LDFLAGS = -L/usr/local/cuda/lib64 -lnvidia-ml
ASTYLE = astyle --style=kr -xf -s4 -k3 -n -Z -Q
......@@ -27,7 +27,7 @@ ASTYLE = astyle --style=kr -xf -s4 -k3 -n -Z -Q
all: $(BIN) man
$(BIN): $(BIN_DIR) $(OBJ) $(OBJ_DIR)/$(BIN).o
$(CC) $(LDFLAGS) -o $(BIN_DIR)/$(BIN) $(OBJ) $(OBJ_DIR)/$(BIN).o
$(CC) -o $(BIN_DIR)/$(BIN) $(OBJ) $(OBJ_DIR)/$(BIN).o $(LDFLAGS)
$(OBJ): $(OBJ_DIR)
$(OBJ_DIR)/counters.o: $(SRC_DIR)/counters_option.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment