CFLAGS = -std=gnu99 -pie -fPIC -pedantic -Wno-imports -Wunused -Wno-missing-field-initializers -Wextra -Wunreachable-code -O3 all: wireguard-mount wireguard-resolve wireguard-mount: src/wireguard-mount.c mkdir -p bin gcc $(CFLAGS) -o bin/wireguard-mount src/wireguard-mount.c -lsystemd wireguard-resolve: src/resolve.c src/resolve.s mkdir -p bin gcc -shared -o bin/wireguard-resolve.so -nostdlib -fPIC src/resolve.c src/resolve.s