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.
39 lines
1.4 KiB
39 lines
1.4 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 cregex/cregex.lib arraytypes/arraytypes.lib
|
|
slink lib:c.o main.o configmodel.o to $(NAME) noicons lib $(LIBS) cregex/cregex.lib arraytypes/arraytypes.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
|
|
|
|
arraytypes/arraytypes.lib : arraytypes/stringarray.o arraytypes/linearray.o
|
|
JOIN arraytypes/stringarray.o arraytypes/linearray.o AS arraytypes/arraytypes.lib
|
|
|
|
clean:
|
|
delete \#?.o $(NAME) ALL QUIET
|
|
|
|
cleanlibs:
|
|
delete arraytypes/arraytypes.lib arraytypes/\#?.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
|
|
|
|
arraytypes/stringarray.o : arraytypes/stringarray.c arraytypes/stringarray.h
|
|
arraytypes/linearray.o : arraytypes/linearray.c arraytypes/linearray.h
|
|
|