[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] makefile syntax
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Sat, 7 Jan 2006 15:49:17 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hw+mYQxvSgF7aT7yv01jOdYz8psArDTvJk7mGCzg3m5uvh111wXTED5Lhc6faxsiEDWAIBN7tk2qz5FmQ8DJYJD7ee89WT75wtqcOvMWxh3AvtElOtAZ54+1boRgABZT4Kp2yO7cIa2uQDOkhnGut4DAXfBy0mpqSj+tUYhC8dU=
How is the best way to update MSVC's makefile to optionally execute a
command after the DLL is created and after every .exe is created?
I could easily copy/paste and do this for the DLL:
---
ifdef WHATEVER
define MAKE_LIB
($RUNNER) .....
insert command here
endef
else
define MAKE_LIB
($RUNNER) .....
endef
endif
---
But then the ($RUNNER) line is duplicated. I wanted to just:
MAKE_LIB += new command
but it doesn't put the additional command on a new line. Is there
anyway to do that?
--
Matthew Leverton