|
From: | Chris Molozian |
Subject: | [ft] Jam Build Tool |
Date: | Sat, 21 May 2011 00:09:42 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110319 Lightning/1.0b3pre Thunderbird/3.1.9 |
Hey all, Not sure if this is the right place to ask these questions, I hope the mailing list is still active. I'm trying to use Jam to build what I believe is my fairly straight forward project (in the D programming language). The goal of my build process is as follows:
|-- src |-- imports | |-- llvm/Target.cpp ...etc. | |-- c/Analysis.d ...etc. |-- Jamfile
BUILDDIR = build ; CC = dmd ; CCFLAGS = -fPIC -O -inline -release -w -wi -od$(BUILDDIR) -I./imports/llvm-2.9 ; LINK = $(CC) ; DFILES = src/main.d ; # should be scanned from src dir Objects $(DFILES) ; MainFromObjects ob2c : $(DFILES:S=.o) ; The build output looks like this: dmd -c -ofsrc/main.o src/main.d dmd -o ob2c src/main.o Error: -o no longer supported, use -of or -od Apologies for the long email, I wanted to give as much context as possible. Any help would be greatly appreciated. Kind Regards, Chris PS: If you can recommend a good book on Jam or some (extensive) documentation that would be great. I can't find many articles on the build tool. |
[Prev in Thread] | Current Thread | [Next in Thread] |