2 LIBS
= -ldl
-lstdc
++ -lgcrypt
-lgpg-error
4 SRCS
=cmdline.c mx3r.c util.c
6 CFLAGS
=-O9
-rdynamic
-Wall
9 all: mx3r
.1 mx3r plugin-split-lines.so
12 mx3r
: $(OBJECTS
) mx3r
.1
13 $(CC
) $(CFLAGS
) -o
$@
$(OBJECTS
) $(LIBS
)
16 plugin-split-lines.so
: plugin-split-lines.o
17 ld -shared plugin-split-lines.o
-o plugin-split-lines.so
20 mx3r.o
: mx3r.c cmdline.o
23 cmdline.o
: cmdline.c mx3r
.1
29 # Update manpage & cmdline.c,cmdlime.h
38 rm -f
$(OBJECTS
) mx3r plugin-split-lines.so