From 7990490c3e772d43d5e6364c3ee1d069a237836c Mon Sep 17 00:00:00 2001 From: Symisc Systems Date: Wed, 6 Jun 2018 06:18:31 +0200 Subject: [PATCH] Travis build setup & Makefile template SOD does not generally require a Makefile to build. Just drop sod.c and its accompanying header files on your source tree and you are done. --- .travis.yml | 3 +++ Makefile | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 .travis.yml create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cb4b3f6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: c +compiler: clang +script: make \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4de3c73 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +# SOD does not generally require a Makefile to build. Just drop sod.c and its accompanying +# header files on your source tree and you are done. +CC = clang +CFLAGS = -lm -Ofast -march=native -Wall -std=c99 + +sod: sod.c + $(CC) sod.c samples/cnn_face_detection.c -o sod_face_detect -I. $(CFLAGS) \ No newline at end of file