From 100f5b826f004379a85d9e273f3d2a5093be3fc1 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Mon, 12 Mar 2018 22:51:08 +0100 Subject: [PATCH] build test --- 01_ENV/build-c.sh | 4 ++-- 01_ENV/func1.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/01_ENV/build-c.sh b/01_ENV/build-c.sh index 64f79e1..0af9db8 100755 --- a/01_ENV/build-c.sh +++ b/01_ENV/build-c.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash bash clean.sh -clang-6.0 -c func1.c main.c -v -clang-6.0 -s func1.o main.o -v +clang-6.0 -c func1.c main.c -B /usr/include/ -lm +clang-6.0 -s func1.o main.o diff --git a/01_ENV/func1.c b/01_ENV/func1.c index db6583d..0dc0564 100644 --- a/01_ENV/func1.c +++ b/01_ENV/func1.c @@ -1,5 +1,5 @@ #include -#include "math.h" +#include #define func1