Adding Atari TOS support
[pforth] / build / linux-crossbuild-amiga / Makefile
index c37f5fe..55698f6 100644 (file)
@@ -67,7 +67,6 @@ CFLAGS = $(CCOPTS)
 LDFLAGS = $(WIDTHOPT) -lm
 
 COMPILE = $(CC) $(CFLAGS) $(CPPFLAGS)
 LDFLAGS = $(WIDTHOPT) -lm
 
 COMPILE = $(CC) $(CFLAGS) $(CPPFLAGS)
-LINK = $(CC) $(LDFLAGS)
 
 # Cross compiler flags (for VBCC not gcc)
 XCFLAGS = -c99 -O3
 
 # Cross compiler flags (for VBCC not gcc)
 XCFLAGS = -c99 -O3
@@ -106,7 +105,7 @@ pffiles:
 
 # Build pforth by compiling 'C' source.
 $(PFDICAPP): $(PFINCLUDES) $(PFOBJS)
 
 # Build pforth by compiling 'C' source.
 $(PFDICAPP): $(PFINCLUDES) $(PFOBJS)
-       $(LINK) -o $@ $(PFOBJS) $(LDADD)
+       $(CC) -o $@ $(PFOBJS) $(LDADD) $(LDFLAGS)
 
 # Build basic dictionary image by running newly built pforth and including "system.fth".
 $(PFORTHDIC): $(PFDICAPP)
 
 # Build basic dictionary image by running newly built pforth and including "system.fth".
 $(PFORTHDIC): $(PFDICAPP)