Example app.

This commit is contained in:
Ian Gulliver
2016-03-01 20:07:17 -08:00
parent ed338b9835
commit 9922e6fafd
3 changed files with 79 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
CFLAGS ?= -pthread
all: example
example: example.o asyncaddrinfo.o
$(CC) $(CFLAGS) -o example example.o asyncaddrinfo.o
clean:
rm -f *.o example
%.o: %.c *.h
$(CC) -c $(CFLAGS) $< -o $@