SRCS = testm2w.c testm2wn.c testw2m.c testw2mn.c testmwm.c iconv.c mblenchk.c \
	mb_test.c test_mblen.c
PROGS = testm2w testm2wn testw2m testw2mn testmwm iconv mblenchk \
	mb_test test_mblen

CFLAGS = -g -D__USE_GNU

all: $(PROGS)

$(PROGS): $(SRCS)
	gcc $(CFLAGS) $(DEBUG) -o $@ $@.c


clean:
	rm -f $(PROGS) core

distclean: clean

