radare2/shlr/wind/Makefile

21 lines
367 B
Makefile

include ../../config-user.mk
include ../../mk/${COMPILER}.mk
CFLAGS+=-I../../libr/include -fPIC
LIBAR=libr_wind.a
LDFLAGS+=-L../../libr/util
LIBS=-lr_util
OBJS=transport.o kd.o wind.o iob_pipe.o
all: libr_wind.a
%.o: %.c
$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -c $< -o $@
libr_wind.a: $(OBJS)
rm -f libr_wind.a
${CC_AR} $(OBJS)
clean:
rm -f $(OBJS) libr_wind.a