Software Development - PowerPoint PPT Presentation

About This Presentation
Title:

Software Development

Description:

Using make ... At the command prompt enter make. make will go through the descriptor file checking dependencies, insuring that ... – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 10
Provided by: dicksr8
Category:

less

Transcript and Presenter's Notes

Title: Software Development


1
Software Development
  • CS240
  • Dick Steflik

2
Make
  • make is a software engineering tool for
    managing and maintaining computer programs
  • Help minimize the life cycle cost of developing
    and maintaining computer software
  • Descriptor file
  • Name makefile // POT (Plain Old Text)?
  • Defines job steps and what the dependencies for
    that job step are .
  • Also the actual command for accomplishing that
    job step

3
makefile descriptor file
  • Made up of
  • Macro definitions
  • For doing text substitutions
  • (name) to invoke
  • Comments (start with a character
  • Dependency rule
  • Target (one or more) dependencies (zero or
    more)
  • Name of the file to be created
  • (reqd character)?
  • Dependencies space delimited list of files reqd
    for this step
  • One or more commands (must start with a tab
    character)?

4
Sample makefile
prog.exe prog.c bag.o bag.c gcc prog.c
bag.o -oprog.exe bag.o bag.c bag.h gcc bag.c
-c
5
Using make
  • In the directory where your files are place the
    descriptor file with the name makefile
  • No file extension
  • At the command prompt enter make
  • make will go through the descriptor file checking
    dependencies, insuring that the most recent files
    are included and any intermediate files are
    recompiled if their time/date stamps are more
    recent than the current time/date stamps on the
    dependent files

6
Version Control Systems
  • Used on multi programmer projects to insure that
    developers don't accidentally destroy each
    other's changes
  • Like a library each user has to check files in
    and out, systems prevents one person from saving
    their changes to a file on top of another
    person's changes
  • System enforces safe controls
  • Changes are saves as a sequence of add, delets
    and modifications to a base file, not as complete
    files

7
CVS
  • Concurrent Versioning System
  • Oldest of the version control systems
  • Open Source
  • Client-server architecture
  • Originally developed for UNIX
  • Ported to Windows NT
  • Each time a file is checked in, user is required
    to enter a description of what was done
  • Commandline and GUI based client programs are
    available.

8
Visual SourceSafe
  • Originally developed by One Tree Software
  • Original name was Delta
  • Acquired by Microsoft and rebranded as Visual
    SourceSafe (1994)?
  • Integrates with most Microsoft software
    development products
  • Not Client Server based

9
Subversion
  • Open Source version control system
  • Circa 2000, goal is to be the preferred successor
    to CVS
  • Widely used in the Open Source community for
    version control on projects like Apache, KDE,
    Gnome, gcc, python, ruby, Mono...
  • Client-server architecture
  • Commandline and GUI clients available for most OS
    environments.
Write a Comment
User Comments (0)
About PowerShow.com