nonrec-make icon indicating copy to clipboard operation
nonrec-make copied to clipboard

Can I compile exe and so in one directory hierarchy both?

Open lxyscls opened this issue 5 years ago • 2 comments

My hierarchy is just as below. /ex dir_1/  dir_2/  dir_3/  dir_4/   dir_4a/ I want to build an exec and a library. The exec depends on the C files under dir_1/2/3. The library only depens on the C files under dir_4a.

So how to define the DEPS about the exec? $(SUBDIRS_TGTS) seems not work well, because it will to find the library, which I do not want it to.

lxyscls avatar Jan 07 '20 07:01 lxyscls

Sorry for not getting back to you earlier. I was too busy then and then I simply forgot about question. I'll take a look at your question and get back to you.

aostruszka avatar Jan 21 '20 08:01 aostruszka

Quick question - does the exec depend on library?

aostruszka avatar Jan 21 '20 08:01 aostruszka