Changeset 3875f106 in mainline for tools/xcw/demo/Makefile


Ignore:
Timestamp:
2018-11-09T13:36:27Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a5fe4f
Parents:
9c75a99d
git-author:
Jiri Svoboda <jiri@…> (2018-10-09 06:34:48)
git-committer:
Jiri Svoboda <jiri@…> (2018-11-09 13:36:27)
Message:

Fix broken XCW. Allow using string.h by cross-platform SW even if _HELENOS_SOURCE needs to be defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/xcw/demo/Makefile

    r9c75a99d r3875f106  
    4343
    4444CC = helenos-cc
    45 CFLAGS = -std=gnu99 -Wall `helenos-pkg-config --cflags libgui libdraw libmath`
     45LD = helenos-ld
     46CFLAGS = -std=gnu11 -Wall `helenos-pkg-config --cflags libgui libdraw libmath` \
     47    -D_HELENOS_SOURCE
    4648LIBS = `helenos-pkg-config --libs libgui libdraw libmath`
    4749output = viewer
     
    5557
    5658$(output): $(objects)
    57         $(CC) -o $@ $^ $(LIBS)
     59        $(LD) -o $@ $^ $(LIBS)
    5860
    5961%.o: %.c
Note: See TracChangeset for help on using the changeset viewer.