|
|
|
#
|
|
|
|
# :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 cregex/cregex.lib containers/containers.lib
|
|
|
|
slink lib:c.o main.o configmodel.o to $(NAME) noicons lib $(LIBS) cregex/cregex.lib containers/containers.lib $(LFLAGS)
|
|
|
|
|
|
|
|
cregex/cregex.lib : cregex/cregex_compile.o cregex/cregex_parse.o cregex/cregex_vm.o
|
|
|
|
JOIN 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/linemap.o
|
|
|
|
JOIN containers/stringarray.o containers/linearray.o containers/linemap.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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
containers/stringarray.o : containers/stringarray.c containers/stringarray.h
|
|
|
|
containers/linearray.o : containers/linearray.c containers/linearray.h
|
|
|
|
containers/linemap.o : containers/linemap.c containers/linemap.h
|