Software Suite Structure


 
Thread Tools Search this Thread
Top Forums Programming Software Suite Structure
# 1  
Old 01-20-2013
Software Suite Structure

E have the following directory structure for my programs

executables are put in bin, object files in obj

There is a makefile .mk for each program. I would need
to have another makefile to build everything called Makefile.
Unsure if I should keep all makefiles where they are op put
them in a separate directory.

Include files are in include. Unsure if to keep the include directory
where it is or move it inside source or BUILD_DIR

Ideas are appreciated

Code:
fast-zb/fast
├── BUILD_DIR
│** ├── bin
│** └── obj
├── include
├── source
│** ├── library
│** └── programs
├── documents
├── examples
├── fdtc.mk
├── nraypk.mk
├── xraypk.mk
├── xzslice.mk
├── Makefile
└── README

---------- Post updated at 10:14 AM ---------- Previous update was at 09:21 AM ----------

Ok so I have left Makefile where it is but moved the .mk files in BUILD_DIR

---------- Post updated at 10:19 PM ---------- Previous update was at 10:14 AM ----------

I am wondering if I should keep the include files where they are of move them under build or under src.

Last edited by kristinu; 01-20-2013 at 10:31 AM..
# 2  
Old 01-23-2013
  • includes are part of source.
  • source is either included, compiled and library-archived, or compiled into an executable.
  • libraries are either static (compile-time-only) or dynamic (run-time-relinked).
  • Make files are part of source, too, compile-time-only scripts. Customers need only get dynamic libraries and executables.
  • Some scripts are executables, too, but the source is the object, give or take some permission bits.
This User Gave Thanks to DGPickett For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Red Hat

Cluster Suite IP-Aliasing

Hi, is it normal, that the IP alias (service IP) can't be seen with ifconfig -a , as eth0:1 for example the IP is on the node, you can ping it, and open ports for that IP look at this: # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback... (4 Replies)
Discussion started by: funksen
4 Replies

2. UNIX for Dummies Questions & Answers

Find a tree structure in software modules

I have a list of software funtions in tcl code. Some of these functions call other functions. I want to build a tree structure of all called functions. Right now I list all the functions into a file then read this file so that I can cat each function and grep for EXECUTE (command that calls... (0 Replies)
Discussion started by: MissI
0 Replies

3. Programming

Search attributes in one structure using the values from another structure

Hello Groups I am trying to find out ways of comparing a value from a 'c' structure to a value in another 'C' structure. the 'C' structure can be a List or liked list as it contains lot many records. if we loop it in both the structures it is going to consume time. I am looking for a simple... (3 Replies)
Discussion started by: dhanamurthy
3 Replies

4. UNIX for Advanced & Expert Users

MV files from one directory structure(multiple level) to other directory structure

Hi, I am trying to write a script that will move all the files from source directory structure(multiple levels might exist) to destination directory structure. If a sub folder is source doesnot exist in destination then I have to skip and goto next level. I also need to delete the files in... (4 Replies)
Discussion started by: srmadab
4 Replies

5. UNIX for Dummies Questions & Answers

Copying a Directory Structure to a new structure

Hi all Is it possible to copy a structure of a directory only. e.g. I have a file with the following entries that is a result of a find :- /dir1/dir2/file.dbf /dir1/dir2/dir3/file1.dbf /dir1/file.dbf I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
Discussion started by: jhansrod
8 Replies
Login or Register to Ask a Question