Skip to content

hardcoded compilation flags #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hello,

One could want to override default compilation flags:
mman.o: mman.c mman.h
        $(CC) -o mman.o -c mman.c -Wall -O3 -fomit-frame-pointer

Maybe a CFLAGS var could be added at the top of the Makefile:
CFLAGS=-Wall -O3 -fomit-frame-pointer

Then rewrite the rule:
mman.o: mman.c mman.h
        $(CC) $(CFLAGS) -o mman.o -c mman.c





Original issue reported on code.google.com by julien.s...@gmail.com on 26 Feb 2015 at 8:29

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions