# # :ts=8 # ############################################################################### NAME = configreader LFLAGS = addsym smallcode smalldata noicons batch LIBS = lib:sc.lib lib:amiga.lib lib:debug.lib ############################################################################### $(NAME) : main.o configmodel.o sectionstore.o cregex/cregex.lib containers/containers.lib slink lib:c.o main.o configmodel.o sectionstore.o to $(NAME) noicons lib $(LIBS) cregex/cregex.lib containers/containers.lib $(LFLAGS) cregex/cregex.lib : cregex/pattern.o cregex/cregex_compile.o cregex/cregex_parse.o cregex/cregex_vm.o JOIN cregex/pattern.o cregex/cregex_compile.o cregex/cregex_parse.o cregex/cregex_vm.o AS cregex/cregex.lib containers/containers.lib : containers/stringarray.o containers/linearray.o containers/sectionarray.o containers/sectionmap.o JOIN containers/stringarray.o containers/linearray.o containers/sectionarray.o containers/sectionmap.o AS containers/containers.lib clean: delete \#?.o $(NAME) ALL QUIET cleanlibs: delete containers/containers.lib containers/\#?.o cregex/cregex.lib cregex/\#?.o ALL QUIET ############################################################################### main.o : main.c configmodel.o : configmodel.c configmodel.h types.h configregex.o : configregex.c configregex.h types.h sectionstore.o : sectionstore.c sectionstore.h types.h cregex/cregex_compile.o : cregex/cregex_compile.c cregex/cregex.h cregex/cregex_parse.o : cregex/cregex_parse.c cregex/cregex.h cregex/cregex_vm.o : cregex/cregex_vm.c cregex/cregex.h cregex/pattern.o : cregex/pattern.c cregex/pattern.h cregex/cregex.h containers/stringarray.o : containers/stringarray.c containers/stringarray.h types.h containers/linearray.o : containers/linearray.c containers/linearray.h types.h containers/sectionarray.o : containers/sectionarray.c containers/sectionarray.h types.h containers/sectionmap.o : containers/sectionmap.c containers/sectionmap.h types.h