maj makefile et deploiement doc
continuous-integration/drone/push Build is failing Details

pull/17/head
Maxime BATISTA 2 years ago
parent 4e1f11c82b
commit 779de5a6fe

@ -12,23 +12,10 @@ steps:
- #apt update && apt install make gcc -y
- make
- name: "Doxygen-build"
image: tsgkadot/docker-doxygen
volumes:
- name: html
path: html
commands:
- doxygen
- name: "Doxygen-deploy"
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
volumes:
- name: html
path: html
image: hub.codefirst.iut.uca.fr/maxime.batista/codefirst-docdeployer
commands:
- /entrypoint.sh
depends_on:
- "Doxygen-build"
- /entrypoint.sh -d . -t doxygen
- name: "Tests"
image: gcc:latest

@ -1,5 +1,5 @@
SRC_DIR = code
GCCFLAGS = -I $(SRC_DIR) -Wall -Wextra -Wno-switch -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-variable -Wno-stringop-overflow -Werror -g
GCCFLAGS = -g -I $(SRC_DIR) -Wall -Wextra -Wno-switch -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-unused-variable -Wno-stringop-overflow -Werror
BUILD_DIR = build
SOURCES = $(shell find $(SRC_DIR) -name '*.c')
TARGETS = $(patsubst %.c, %.o, $(SOURCES))