Skip to content

Variables in smkfile #14

Open
Open
@LionelDraghi

Description

@LionelDraghi

Variable substitution seems to be hard to avoid in most build script:

CFLAGS=-W -Wall -ansi -pedantic
gcc $(CFLAGS) -o hello.o -c hello.c 
gcc $(CFLAGS) -o main.o -c main.c 
gcc $(CFLAGS) -o hello hello.o main.o

Primary target is shell compatibility, but Makefile variable compatibility has to be considered at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions