1 # Define if you want support for wide characters (needs libncursesw)
4 # Define if you want XKB led controls and on-screen display via OSDD
8 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR)
10 ifdef CONFIG_WIDE_CURSES
12 CFLAGS+=-DCONFIG_WIDE_CURSES=1
19 CFLAGS+=-DCONFIG_X11=1
27 cm: cm.o util.o charset.o rfc822.o
29 cm.o: cm.c clists.h util.h charset.h
31 charset.o: charset.c util.h charset.h rfc822.h
32 rfc822.o: rfc822.c util.h rfc822.h
35 rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core`
41 .PHONY: all clean distclean