correction d’une erreur dans le makefile
This commit is contained in:
parent
8e0502d9e9
commit
3a6c3a9753
@ -7,7 +7,7 @@ CC := gcc -Wall -Wextra -Wpedantic -Werror -Wshadow=local -Iinclude -Isrc -g -st
|
|||||||
|
|
||||||
CFLAGS := $(CFLAGS) -D_POSIX_C_SOURCE=200809L
|
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)
|
SRC := $(wildcard src/*.c)
|
||||||
TEST := $(wildcard test/*.c)
|
TEST := $(wildcard test/*.c)
|
||||||
@ -16,9 +16,9 @@ TEST_OBJS := $(patsubst test/%.c,build/test-%.o,$(TEST))
|
|||||||
DEPS := $(wildcard build/*.d)
|
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):
|
$(OUT):
|
||||||
$(CC) $(LDFLAGS) -o $@ $^
|
$(CC) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
@ -38,3 +38,4 @@ build/%.o: src/%.c
|
|||||||
clean:
|
clean:
|
||||||
-rm -f build/*.o
|
-rm -f build/*.o
|
||||||
-rm -f build/*.d
|
-rm -f build/*.d
|
||||||
|
-rm -f $(OUT)
|
||||||
|
Reference in New Issue
Block a user