hello world + build script
This commit is contained in:
commit
84e298883a
3 changed files with 26 additions and 0 deletions
15
build.sh
Executable file
15
build.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/env bash
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
INCLUDE_DIR=${SCRIPT_DIR}/include
|
||||
SRC_DIR=${SCRIPT_DIR}/src
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-I${INCLUDE_DIR}
|
||||
|
||||
EXE=pupdns
|
||||
|
||||
SRCS=${SRC_DIR}/*.c
|
||||
DEPS=${INCLUDE_DIR}/*.h
|
||||
|
||||
${CC} -o ${EXE} ${SRCS} ${CFLAGS}
|
||||
Loading…
Add table
Add a link
Reference in a new issue