From 3a6c3a9753801f6899fb10f0f15858b917daddf3 Mon Sep 17 00:00:00 2001 From: COLIN Cyril Date: Wed, 13 Nov 2019 12:55:45 +0100 Subject: [PATCH] =?UTF-8?q?correction=20d=E2=80=99une=20erreur=20dans=20le?= =?UTF-8?q?=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- partage/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/partage/Makefile b/partage/Makefile index d383ce4..cd365fe 100644 --- a/partage/Makefile +++ b/partage/Makefile @@ -7,7 +7,7 @@ CC := gcc -Wall -Wextra -Wpedantic -Werror -Wshadow=local -Iinclude -Isrc -g -st CFLAGS := $(CFLAGS) -D_POSIX_C_SOURCE=200809L -OUT := $(notdir $(shell pwd)) +OUT := test-ext-in test-ext-out test-iftun tunnel64d SRC := $(wildcard src/*.c) TEST := $(wildcard test/*.c) @@ -16,9 +16,9 @@ TEST_OBJS := $(patsubst test/%.c,build/test-%.o,$(TEST)) DEPS := $(wildcard build/*.d) -all: ext-in ext-out test-iftun tunnel64d +.PHONY: all +all: test-ext-in test-ext-out test-iftun tunnel64d -# $(OUT): $(OBJS) $(OUT): $(CC) $(LDFLAGS) -o $@ $^ @@ -38,3 +38,4 @@ build/%.o: src/%.c clean: -rm -f build/*.o -rm -f build/*.d + -rm -f $(OUT)