[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
On Tue, 11 Sep 2007 11:39:24 +0200 Lars Hartmann <sslug@sslug> wrote: > 2 Måder: > > Du kan dele API_SRC i to variable API_C_SRC og API_CXX_SRC og så bruge > API_OBJ:=$(API_C_SRC:.c=.o) $(API_CXX_SRC:.cxx=.o) > > eller du kan bruge den generelle substitueringsfunction i GNU make > patsubst: > > API_OBJ:=$(patsubst %.c,%.o,$(patsubst %.cxx,%.o,$(API_SRC))) > > Man siden til GNU make kan du finde på: > > http://www.gnu.org/software/make/manual/make.html > > Specielt kapitel 8 er interessant i denne forbindelse. tak -- Kim Schulz | Blog: http://www.schulz.dk/ Email: sslug@sslug | Work: http://www.devteam.dk/ Phone: +45 5190 4262 | Fun : http://www.chilifan.dk/
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |