Skip to content

Commit da2d295

Browse files
Add Makefile target for the example
1 parent b27e14b commit da2d295

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ tests: tests/test_libproxyprotocol
3737
tests/test_libproxyprotocol: tests/test.o libs/libproxyprotocol.so
3838
$(CC) -Llibs/ ${CFLAGS} -o $@ $< -lproxyprotocol
3939

40+
examples/client_server: examples/client_server.o libs/libproxyprotocol.so
41+
$(CC) -Llibs/ ${CFLAGS} -o $@ $< -lproxyprotocol
42+
4043
clean:
4144
$(RM) src/*.o libs/libproxyprotocol.so
4245
$(RM) tests/*.o tests/test_libproxyprotocol
46+
$(RM) examples/*.o examples/client_server

0 commit comments

Comments
 (0)