Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/Makefile.linux

    r0f8062a4 ra42d7d8  
    2929CFLAGS += -fexec-charset=UTF-8 -finput-charset=UTF-8 -std=gnu99 -pipe
    3030CFLAGS += -Wall -Wextra -Werror -Wno-clobbered -Wno-unused-parameter -Wmissing-prototypes -Werror-implicit-function-declaration -Wwrite-strings
     31CFLAGS += -ftrapv
    3132CFLAGS += -g
    32 CFLAGS += -Ilinux
     33
     34LIBBITHENGE_PREFIX = ../../lib/bithenge
     35CFLAGS += -I$(LIBBITHENGE_PREFIX)
     36LIBS += $(LIBBITHENGE_PREFIX)/libbithenge.a
    3337
    3438BINARY = bithenge
    3539
    3640SOURCES = \
    37         blob.c \
    38         expression.c \
    39         file.c \
    40         print.c \
    41         script.c \
    42         sequence.c \
    43         source.c \
    44         test.c \
    45         transform.c \
    46         tree.c
     41        test.c
     42
     43ifdef COVERAGE
     44        CFLAGS += -fprofile-arcs -ftest-coverage
     45endif
    4746
    4847OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    4948
    5049$(BINARY): $(OBJECTS)
    51         $(CC) -o $@ $^
     50        $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
    5251
    5352clean:
Note: See TracChangeset for help on using the changeset viewer.