Changeset 5974661 in mainline for uspace/app/pcc/cc/ccom/Makefile


Ignore:
Timestamp:
2011-06-19T17:54:08Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e4f8c77
Parents:
0ffbed9
Message:

Add a separate directory for each platform's external.{c,h}. Add mkext utility for generating those to the build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcc/cc/ccom/Makefile

    r0ffbed9 r5974661  
    3434DEFS = -Dmach_$(PLATFORM) -D__helenos__ -DPCC_DEBUG -DGCC_COMPAT -Dfree=free
    3535BINARY = ccom
    36 EXTRA_CLEAN = cgram.c cgram.h scan.c
     36EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h
    3737
    3838POSIX_COMPAT = y
    3939
    40 # FIXME: I think external.{c,h} must be generated on the target system
     40# FIXME: external.{c,h} must be generated for each target system
    4141
    4242SOURCES = \
     
    7676        mv lex.yy.c scan.c
    7777
     78external.c external.h:
     79        ln -s arch/$(PLATFORM)/external.c external.c
     80        ln -s arch/$(PLATFORM)/external.h external.h
     81
    7882include $(USPACE_PREFIX)/Makefile.common
    7983
Note: See TracChangeset for help on using the changeset viewer.