mirror of
https://github.com/Noratrieb/icefun.git
synced 2026-01-15 13:15:01 +01:00
private
This commit is contained in:
parent
25adea4103
commit
7af1274587
160 changed files with 38999 additions and 4 deletions
25
hyper/capi/examples/Makefile
Normal file
25
hyper/capi/examples/Makefile
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue