Commit 662b0714 authored by ASCP's avatar ASCP 💬

Restructure of smakefile, fixes Slink command too long

parent d93a642c
# #
# :ts=8 # :ts=4
# #
.c.o: .c.o:
...@@ -27,14 +27,10 @@ LFLAGS = smallcode smalldata noicons batch ...@@ -27,14 +27,10 @@ LFLAGS = smallcode smalldata noicons batch
############################################################################### ###############################################################################
OBJS = \ OBJS = \
About.o Backup.o Buffer.o BuffIO.o Command.o \ About.o Backup.o Buffer.o BuffIO.o Command.o Compress.o Device.o DiskRes.o Display.o \
Compress.o Device.o DiskRes.o Display.o DlogDefs.o Error.o \ DlogDefs.o Error.o Files.o Gadget.o Icon.o Init.o Macro.o Main.o Memory.o Menu.o \
Files.o Gadget.o Icon.o Init.o Macro.o \ MenuDefs.o Misc.o Monitor.o Options.o Prefs.o PrHandler.o Print.o Project.o Report.o \
Main.o Memory.o Menu.o MenuDefs.o Misc.o \ Restore.o Strings.o Tag.o Tape.o Title.o Utilities.o Variables.o WindDefs.o Window.o
Monitor.o Options.o Prefs.o PrHandler.o Print.o \
Project.o Report.o Restore.o Strings.o Tag.o \
Tape.o Title.o Utilities.o Variables.o WindDefs.o \
Window.o
LIBS = /toolbox/toolbox.lib LIB:sc.lib LIB:amiga.lib LIBS = /toolbox/toolbox.lib LIB:sc.lib LIB:amiga.lib
...@@ -43,8 +39,7 @@ LIBS = /toolbox/toolbox.lib LIB:sc.lib LIB:amiga.lib ...@@ -43,8 +39,7 @@ LIBS = /toolbox/toolbox.lib LIB:sc.lib LIB:amiga.lib
all: Quarterback all: Quarterback
Quarterback : $(OBJS) Quarterback : $(OBJS)
slink lib:c.o $(OBJS) to $@.debug lib $(LIBS) $(LFLAGS) \ slink lib:c.o $(OBJS) to $@.debug lib $(LIBS) $(LFLAGS) map $@.map,fhx fwidth 32 pwidth 32 swidth 32
map $@.map,fhx fwidth 32 pwidth 32 swidth 32
slink $@.debug to $@ noicons nodebug slink $@.debug to $@ noicons nodebug
############################################################################### ###############################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment