Building sub-projects, can this be done?

Another newbie style question. We already have several projects that are contained within a hierarchical directory structure. If we run make at the top level it will recursively call make on all of the projects in sub-directories.

With netbeans I created a project at the top-level directory of our structure. If I go to build my project it will run the makefile at the top level correctly. But how can I build one of the sub-projects independently of the others? If I right-click on one of the sub-projects in netbeans the context menu doesn't have a build option. I hope that there is some better way of handling this than creating a separate project, for each sub-project.

Ex.

A

|B

|C

|-D

How can I specifically build project D?

Thanks, Derek

[802 byte] By [dealy663a] at [2007-11-26 17:09:39]
# 1

Derek,

There are 2 ways you can do this. You can drill down in the Files tab to your

subdirectory, select the Makefile, and select a make target from the context menu

(all and clean are all that are predefined, but you can add any you want).

You could also make separate projects for B, C, and D and use project A

for building the entire application but still build B, C, and D independently.

Gordon

gordonp999a at 2007-7-8 23:37:29 > top of Java-index,Development Tools,Solaris and Linux Development Tools...