4 CFLAGS_COMMON
=-Wall
-pedantic
-ansi
5 CFLAGS_OPTI
=-O3
-fomit-frame-pointer
-ffast-math
-DNDEBUG
8 export CFLAGS
=$(CFLAGS_COMMON
) $(CFLAGS_OPTI
)
10 export CFLAGS
=$(CFLAGS_COMMON
) $(CFLAGS_DEBUG
)
19 $(NAME
): $(OBJS
) $(LIBS
)
20 $(CC
) -fPIC
-shared
$(CFLAGS
) -o
$@
$^
22 strip --strip-debug
$(NAME
)
27 $(CC
) -c
-fPIC
-shared
$(CFLAGS
) -o
$@
$<
31 $(RM
) *.o
$(NAME
) core