feat(ffi): Initial C API for hyper
This commit is contained in:
22
capi/examples/Makefile
Normal file
22
capi/examples/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Build the example client
|
||||
#
|
||||
|
||||
TARGET = client
|
||||
|
||||
OBJS = client.o
|
||||
|
||||
RPATH=$(PWD)/../../target/debug
|
||||
CFLAGS = -I../include
|
||||
LDFLAGS = -L$(RPATH) -Wl,-rpath,$(RPATH)
|
||||
LIBS = -lhyper
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
|
||||
|
||||
upload: upload.o
|
||||
$(CC) -o upload upload.o $(LDFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) $(TARGET)
|
||||
rm -f upload upload.o
|
||||
Reference in New Issue
Block a user