You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.8 KiB
43 lines
1.8 KiB
#
|
|
# :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/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 containers/sectionarray.o containers/sectionmap.o
|
|
JOIN containers/stringarray.o containers/linearray.o containers/linemap.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
|
|
sectionstore.o : sectionstore.c sectionstore.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
|
|
containers/sectionarray.o : containers/sectionarray.c containers/sectionarray.h
|
|
containers/sectionmap.o : containers/sectionmap.c containers/sectionmap.h
|
|
|