3 CFLAGS
= -Wall
-Wextra
-Wstrict-prototypes
-pedantic
5 CFLAGS
+= -I.
-I..
/md5
-I..
/network
-I..
/osd
-I..
/applets
/widgets
6 CFLAGS
+= -I
/usr
/X11R6
/include -I
/usr
/include
7 #CFLAGS += -DPIXMAP_PATH=\"$(PIXMAP_PATH)\" -DPIXMAP_DEFAULT=\"$(PIXMAP_PATH)mail.png\"
30 ..
/network
/socket_io.o \
44 ..
/applets
/widgets
/iv_widget.o \
45 ..
/applets
/widgets
/png.o
50 $(CC
) $(CFLAGS
) -c
$< -o
$@
52 .PHONY
: $(TARGETS
) clean all
58 test_header_osd
: $(COMMON_OBJS
) $(MD5_UTILS_OBJS
) $(OSD_OBJS
) test_header_osd.o
60 $(CC
) $^
-o
$@
$(LDFLAGS
) -lXft
-lpng
62 test_list
: list.o
$(COMMON_OBJS
) $(MD5_UTILS_OBJS
) test_list.o
64 $(CC
) $^
-o
$@
$(LDFLAGS
)
66 test_list_x11
: list.o icons_utils.o
$(WIDGETS_OBJS
) $(COMMON_OBJS
) $(MD5_UTILS_OBJS
) test_list_x11.o
68 $(CC
) $^
-o
$@
-L
/usr
/X11R6
/lib
-lXaw
-lXt
-lX11
-lpng
70 test_pop3_list
: list.o
$(COMMON_OBJS
) $(MD5_UTILS_OBJS
) $(NETWORK_OBJS
) test_pop3_list.o
72 $(CC
) $^
-o
$@
$(LDFLAGS
)
74 test_view_mail
: $(COMMON_OBJS
) mime.o test_view_mail.o
76 $(CC
) $^
-o
$@
$(LDFLAGS
)
78 test_mime
: mime.o test_mime.o
80 $(CC
) $^
-o
$@
$(LDFLAGS
)
83 rm -f
$(TARGETS
) *.o
*~