Compare commits
No commits in common. "3a6c3a9753801f6899fb10f0f15858b917daddf3" and "33cdb682d6b606509405ef447386468a365ede5b" have entirely different histories.
3a6c3a9753
...
33cdb682d6
@ -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 := test-ext-in test-ext-out test-iftun tunnel64d
|
OUT := $(notdir $(shell pwd))
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
all: ext-in ext-out test-iftun tunnel64d
|
||||||
all: test-ext-in test-ext-out test-iftun tunnel64d
|
|
||||||
|
|
||||||
|
# $(OUT): $(OBJS)
|
||||||
$(OUT):
|
$(OUT):
|
||||||
$(CC) $(LDFLAGS) -o $@ $^
|
$(CC) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
@ -38,4 +38,3 @@ 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)
|
|
||||||
|
BIN
partage/ext-in
Executable file
BIN
partage/ext-in
Executable file
Binary file not shown.
BIN
partage/ext-out
Executable file
BIN
partage/ext-out
Executable file
Binary file not shown.
BIN
partage/test-iftun
Executable file
BIN
partage/test-iftun
Executable file
Binary file not shown.
BIN
partage/tunnel64d
Executable file
BIN
partage/tunnel64d
Executable file
Binary file not shown.
Reference in New Issue
Block a user