www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/25/10:25:26

Date: Mon, 25 Nov 1996 16:13:28 GMT
From: kvhk AT ivs4 DOT barco DOT com (Koen Van Herck)
Message-Id: <9611251613.AA11043@ivs4.>
To: djgpp AT delorie DOT com
Subject: DJGPP path from makefile
Reply-To: Koen DOT VanHerck AT barco DOT com

Hello,

does anyone know if it is possible to detect the installation path of
djgpp in a makefile ? I want to do the following:

INSTALLDIR = a:/
DJGPP_PATH = ?????

install:
	cp $(DJGPP_PATH)/bin/cwsdpmi.exe $(INSTALLDIR)
	cp myprog.exe $(INSTALLDIR)

This should work on different computers, independent from the
installation directory of djgpp. With install, all files that are
needed on a bootable floppy should be copied to a fixed location.

I could of course keep a copy of cwsdpmi.exe in my local dir, but
that's not very elegant.

Thanks for your help.
----
Koen Van Herck
Electronic Design Engineer
E-mail: Koen DOT VanHerck AT barco DOT com

 BBBB    AAA   RRRR    CCC   OOO     B A R C O   V I S U A L   S Y S T E M S
 B   B  A   A  R   R  C     O   O    A division of  Barco Projection Systems
 B BB   A AAA  R RR  C    OO  O  OO   
 B   B  A   A  R   R  C     O   O    Noordlaan 5      Tel +32 (0)56 36 85 71
 BBBB   A   A  R   R   CCC   OOO     B-8520 Kuurne    Fax +32 (0)56 36 83 55

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019