[AD] makefile syntax

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


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




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/