1 include ..
/..
/scripts
/Makefile.
include
3 CC
= $(CROSS_COMPILE
)gcc
4 AR
= $(CROSS_COMPILE
)ar
6 # guard against environment variables
12 LIB_OBJS
+= $(OUTPUT
)debugfs.o
16 CFLAGS
= -ggdb3
-Wall
-Wextra
-std
=gnu99
-Werror
-O6
-D_FORTIFY_SOURCE
=2 $(EXTRA_WARNINGS
) $(EXTRA_CFLAGS
) -fPIC
17 EXTLIBS
= -lelf
-lpthread
-lrt
-lm
18 ALL_CFLAGS
= $(CFLAGS
) $(BASIC_CFLAGS
) -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS
=64
19 ALL_LDFLAGS
= $(LDFLAGS
)
23 $(LIBFILE
): $(LIB_OBJS
)
24 $(QUIET_AR
)$(RM
) $@
&& $(AR
) rcs
$(OUTPUT
)$@
$(LIB_OBJS
)
29 $(QUIET_CC
)$(CC
) -o
$@
-c
$(ALL_CFLAGS
) $<
31 $(QUIET_CC
)$(CC
) -S
$(ALL_CFLAGS
) $<
33 $(QUIET_CC
)$(CC
) -o
$@
-c
$(ALL_CFLAGS
) $<
36 $(RM
) $(LIB_OBJS
) $(LIBFILE
)