mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-14 15:53:32 +01:00
Add libuv examples
This commit is contained in:
13
libuv/echo_server/Makefile
Normal file
13
libuv/echo_server/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
PACKAGE = echo_server
|
||||
OBJECTS = echo_server.o
|
||||
CFLAGS = -I/usr/local/include/uv
|
||||
LDADD = -luv
|
||||
|
||||
hello: $(OBJECTS)
|
||||
${CC} -o ${PACKAGE} ${OBJECTS} ${LDADD}
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} -c $<
|
||||
|
||||
clean:
|
||||
rm -f hello *.o
|
||||
Reference in New Issue
Block a user