Makefile.gateway 468 Bytes
Newer Older
Alexander Withers's avatar
Alexander Withers committed
1
2
3
4
5
6
7
8
all: gateway
CFLAGS=-Wall -Wextra $(shell pkg-config --cflags libzyre)
LOADLIBES= $(shell pkg-config --libs libzyre)
gateway: main.o keygen_cmd.o server_cmd.o gateway.o zsimpledisco.o

gateway.static: main.c gateway.c server_cmd.c zsimpledisco.c keygen_cmd.c
	cc  main.c gateway.c keygen_cmd.c server_cmd.c zsimpledisco.c -o gateway -static-libstdc++  -static -static-libgcc -Wall -Wextra $(shell pkg-config --cflags --libs libzyre) -lpthread -lstdc++  -lm
	@echo OK!