Loading .gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ job:build: stage: build script: - apt-get install --yes make - apt-cache search libsdl2 - apt-get install --yes libsdl2-2.0-0 libsdl2-dev job:test:unit: before_script: Loading Makefile +2 −2 Original line number Diff line number Diff line CFLAGS = `sdl2-config --libs --cflags` -ggdb3 -O0 --std=c99 -Wall -lSDL2_image -lm CFLAGS = `sdl2-config --libs --cflags` -ggdb3 -O0 --std=c99 -Wall -lm FIGURES = src/figures/point.o all: main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) gcc main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) -o projet $(CFLAGS) gcc main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) -o projet $(CFLAGS) -lSDL2_image test_couleur: tests/test_couleur.o src/couleur.o gcc tests/test_couleur.o src/couleur.o -o tests/test_couleur Loading Loading
.gitlab-ci.yml +0 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,6 @@ job:build: stage: build script: - apt-get install --yes make - apt-cache search libsdl2 - apt-get install --yes libsdl2-2.0-0 libsdl2-dev job:test:unit: before_script: Loading
Makefile +2 −2 Original line number Diff line number Diff line CFLAGS = `sdl2-config --libs --cflags` -ggdb3 -O0 --std=c99 -Wall -lSDL2_image -lm CFLAGS = `sdl2-config --libs --cflags` -ggdb3 -O0 --std=c99 -Wall -lm FIGURES = src/figures/point.o all: main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) gcc main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) -o projet $(CFLAGS) gcc main.o src/liste_figure.o src/couleur.o src/gestion_evenement.o $(FIGURES) -o projet $(CFLAGS) -lSDL2_image test_couleur: tests/test_couleur.o src/couleur.o gcc tests/test_couleur.o src/couleur.o -o tests/test_couleur Loading