This commit is contained in:
nora 2023-03-07 14:00:23 +01:00
parent 25adea4103
commit 7af1274587
160 changed files with 38999 additions and 4 deletions

View file

@ -0,0 +1,25 @@
#
# Build the example client
#
TARGET = client
TARGET2 = upload
OBJS = client.o
OBJS2 = upload.o
RPATH=$(PWD)/../../target/debug
CFLAGS = -I../include
LDFLAGS = -L$(RPATH) -Wl,-rpath,$(RPATH)
LIBS = -lhyper
all: $(TARGET) $(TARGET2)
$(TARGET): $(OBJS)
$(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LIBS)
$(TARGET2): $(OBJS2)
$(CC) -o $(TARGET2) $(OBJS2) $(LDFLAGS) $(LIBS)
clean:
rm -f $(OBJS) $(TARGET) $(OBJS2) $(TARGET2)