mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-16 02:28:12 +00:00
21 lines
367 B
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
|