DSSS 0.78 released.
Leonid Krashenko
jetbird at gmail.com
Sat Sep 20 14:53:14 PDT 2008
Leonid Krashenko wrote:
> Gregor Richards wrote:
>
> I am getting strange errors using rebuild/dsss:
> http://codepad.org/MfhzjJFG
>
> If I use my own Makefile, everything compiles, links and runs
> successfully:
>
> cc = dmd
> flags = -unittest
> link_flags = -L-lX11
> source_dirs = y std/c/linux/X11 tl
>
> src_files = $(addsuffix /*.d, $(source_dirs))
> src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files)))
>
> paint: paint.o $(src_objs)
> $(cc) $^ $(link_flags)
>
> main: main.o $(src_objs)
> $(cc) $^ $(link_flags)
>
> VPATH := $(source_dirs) .
>
> %.o: %.d
> $(cc) -c $^ $(flags) -op
>
> clean:
> rm -f $(addsuffix /*.o, . $(source_dirs))
> rm -f paint
> rm -f main
>
> What am I doing wrong?
rebuild cmd is:
$ rebuild paint.d -L-lX11
More information about the Digitalmars-d-announce
mailing list