Mail Archives: djgpp/1996/11/25/10:25:26
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 -