summaryrefslogtreecommitdiff
path: root/progs/samples
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples')
-rw-r--r--progs/samples/Makefile.DJ5
1 files changed, 3 insertions, 2 deletions
diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ
index 3d679ebe7c..81db825342 100644
--- a/progs/samples/Makefile.DJ
+++ b/progs/samples/Makefile.DJ
@@ -20,7 +20,7 @@
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-# DOS/DJGPP samples makefile v1.3 for Mesa 5.0
+# DOS/DJGPP samples makefile v1.3 for Mesa
#
# Copyright (C) 2002 - Borca Daniel
# Email : dborca@yahoo.com
@@ -63,6 +63,7 @@ CFLAGS = -Wall -W -pedantic
CFLAGS += -O2 -ffast-math -mcpu=$(CPU)
CFLAGS += -I$(TOP)/include
+LD = gxx
LDFLAGS = -s -L$(TOP)/lib
ifeq ($(DXE),1)
@@ -79,7 +80,7 @@ endif
.c.o:
$(CC) -o $@ $(CFLAGS) -c $<
.o.exe:
- $(CC) -o $@ $(LDFLAGS) $(DMESADXE) $< $(LDLIBS)
+ $(LD) -o $@ $(LDFLAGS) $(DMESADXE) $< $(LDLIBS)
all:
$(error Must specify <filename.exe> to build)