Skip to content
Snippets Groups Projects
Commit ed5799cf authored by halteproblem's avatar halteproblem
Browse files

updated Makefile

parent 41586be7
No related branches found
No related tags found
No related merge requests found
BUILD_DIR=build
SRC_DIR=src
all: deeplearning.o all: $(BUILD_DIR)/deeplearning.o
gcc -Wall -o deeplearning deeplearning.o -L libonnx/src -lonnx -lm gcc -Wall -o $(BUILD_DIR)/deeplearning $(BUILD_DIR)/deeplearning.o -L libonnx/src -lonnx -lm
deeplearning.o : deeplearning.c $(BUILD_DIR)/deeplearning.o : $(SRC_DIR)/deeplearning.c
gcc -Wall -c deeplearning.c -I libonnx/src -o deeplearning.o gcc -Wall -c $(SRC_DIR)/deeplearning.c -I libonnx/src -o $(BUILD_DIR)/deeplearning.o
read: h5_read.c
gcc -Wall h5_read.c -lhdf5 -I /usr/local/include/hdf5/include/ -L /usr/local/include/hdf5/lib/
clean: clean:
rm -f deeplearning.o rm -f build/*
rm -f a.out
# gcc deeplearning.c -I"/mnt/c/Users/blank/FAUbox/Uni/5. Semester/Radl/Exercise01/libonnx/src"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment