Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 27f0329aa8
Fetching contributors…

Cannot retrieve contributors at this time

file 39 lines (26 sloc) 0.586 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
include ../../config.mak

TARGET = mvcp-client

OBJS = client.o \
io.o \
remote.o

CFLAGS += -I.. $(RDYNAMIC)

LDFLAGS += -L../mvcp -lmvcp
LDFLAGS += -lpthread

SRCS := $(OBJS:.o=.c)

all: $(TARGET)

$(TARGET): $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS)

depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend

distclean: clean
rm -f .depend

clean:
rm -f $(OBJS) $(TARGET)

install: all
install -d "$(DESTDIR)$(bindir)"
install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"

uninstall:
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"

ifneq ($(wildcard .depend),)
include .depend
endif
Something went wrong with that request. Please try again.