summaryrefslogtreecommitdiff
path: root/contrib/keychain-mcd/Makefile
blob: c6431df1587e09af3f3b4ddaf8a91921489689ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CFILES = cert_data.c common_osx.c crypto_osx.c main.c
OFILES = $(CFILES:.c=.o) ../../src/openvpn/base64.o
prog = keychain-mcd

CC = gcc
CFLAGS = -Wall
LDFLAGS =  -framework CoreFoundation -framework Security -framework CoreServices

$(prog): $(OFILES)
	$(CC) $(LDFLAGS) $(OFILES) -o $(prog)

%.o: %.c
	$(CC) $(CFLAGS) -c $< -o $@