Skip to content
Snippets Groups Projects
Commit 61ede8d7 authored by Lukas Braun's avatar Lukas Braun
Browse files

add basic Makefile

parent fac1a692
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
CFLAGS += -std=c11 -D_POSIX_SOURCE -Wall -Wconversion -fPIC
goatherd: goatherd.go
go build goatherd.go
goatherd_test: goatherd.go goatherd_test.go
go test
test: goatherd_test
pam_goatherd.so: pam_goatherd.o
$(LINK.c) -lpam -lgnutls -Wl,-soname,$@ -shared $< -o $@
all: goatherd pam_goatherd.so
clean:
rm -f pam_goatherd.o pam_goatherd.so goatherd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment