3 $(error CLFAGS not defined.
)
7 $(error TOOLS_DIR not defined.
)
10 LIB
= libpakfire_preload.so
12 SOURCES
= $(wildcard *.c
)
13 OBJECTS
= $(patsubst %.c
,%.o
,$(SOURCES
))
19 $(CC
) $(CFLAGS
) -o
$@
-c
$<
22 $(CC
) $(CFLAGS
) -shared
-o
$@
$?
-ldl
-static-libgcc
26 -mkdir
-pv
$(TOOLS_DIR
)/lib
/
27 install -p
-m
755 $(LIB
) $(TOOLS_DIR
)/lib