kerberosTest/sample/Makefile

29 lines
454 B
Makefile
Raw Normal View History

2022-03-15 14:34:40 +00:00
CC=gcc
PROGRAM=client server
LIBSSL_LIBS=-lsasl2
FINAL_LIBS+=$(LIBSSL_LIBS)
FINAL_FLAG+=-Wimplicit-function-declaration $(FINAL_LIBS)
all: $(PROGRAM)
@echo ""
@echo "build seccess!"
@echo ""
client:sample-client.c
$(CC) -c sample-client.c $(FINAL_FLAG)
$(CC) -o client sample-client.o $(FINAL_FLAG)
server:sample-server.c
$(CC) -c sample-server.c $(FINAL_FLAG)
$(CC) -o server sample-server.o $(FINAL_FLAG)
clean:
rm *.o server client