TOPDIR = ../.. include $(TOPDIR)/rules.mk CPPFLAGS += $(RFRTLIB_CFLAGS) $(RFLIB_CFLAGS) MODULES = \ is_box \ is_channel \ is_char \ is_digit \ is_int \ is_func \ is_letter \ is_string \ is_table \ is_vector \ is_word SOURCES = $(addsuffix .cc, $(MODULES)) OBJECTS = $(addsuffix .o, $(MODULES)) DEPS = $(addsuffix .dep, $(MODULES)) all:: module.list module.list: $(OBJECTS) echo $^ >module.list clean:: rm -rf *.o *.dep module.list -include $(DEPS)