beautypg.com

Makfile or makefile, New project, Makfile or makefile new project – Zilog ZUSBOPTS User Manual

Page 402

background image

Supported Script File Commands

UM017105-0511

374

Zilog Developer Studio II – ZNEO™
User Manual

For example:

log "buildall.log"

log on

log off

makfile or makefile

The

makfile

and

makefile

commands export a make file for the current project. The

syntax can take one of two forms:

makfile "<[path\]file name>"

makefile "<[path\]file name>"

If path is not provided, the current working directory is used.

For example:

makfile "myproject.mak"

makefile "c:\projects\test.mak"

new project

The

new project

command creates a new project designated by project_name, target,

and the type supplied. If the full path is not supplied, the current working directory is used.
By default, existing projects with the same name are replaced. Use

NOREPLACE

to prevent

the overwriting of existing projects. The syntax can take one of the following forms:

new project "<[path\]name>" "" "" [""]

[NOREPLACE]

new project "<[path\]name>" "" ""

"" "" [NOREPLACE]

where:

<

name

> is the path and name of the new project. If the path is not provided, the cur-

rent working directory is assumed. Any file extension can be used, but none is
required. If not provided, the default extension of

.zdsproj

is used.

<

target

> must match that of the IDE (that is, the ZNEO IDE can only create

ZNEO-based projects).

<

exe

|

lib

> must be either

exe

(Executable) or

lib

(Static Library).

["<

cpu

>"] is the name of the CPU to configure for the new project.

"<

project type

"> can be

"Standard"

or

"Assembly Only

".

Standard

is the

default.

This manual is related to the following products: