Changeset 5889fc74 in mainline for uspace/app/pcc/cc/ccom/Makefile


Ignore:
Timestamp:
2011-07-25T20:03:53Z (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:
6c69d19
Parents:
b9a46fc
Message:

Fixed broken building.

File:
1 edited

Legend:

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

    rb9a46fc r5889fc74  
    3434DEFS = -Dmach_$(PLATFORM) -D__helenos__ -DPCC_DEBUG -DGCC_COMPAT -Dfree=free
    3535BINARY = ccom
    36 EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h
     36
     37PRE_DEPEND = cgram.c scan.c external.c external.h common.c compat.c
     38EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h common.c compat.c \
     39        $(MIPDIR)/*.o $(MDIR)/*.o
    3740
    3841POSIX_COMPAT = y
     
    5154        $(MIPDIR)/optim2.c \
    5255        $(MIPDIR)/regs.c \
    53         $(MIPDIR)/common.c \
    54         $(MIPDIR)/compat.c \
     56        common.c \
     57        compat.c \
    5558        cgram.c \
    5659        scan.c \
     
    6770        trees.c
    6871
     72include $(USPACE_PREFIX)/Makefile.common
     73
    6974cgram.c: cgram.y
    7075        $(YACC) $(YFLAGS) -d $<
     
    7681        mv lex.yy.c scan.c
    7782
    78 external.c external.h:
    79         ln -s arch/$(PLATFORM)/external.c external.c
    80         ln -s arch/$(PLATFORM)/external.h external.h
     83compat.c: $(MIPDIR)/compat.c
     84        ln -s -f $^ $@
    8185
    82 include $(USPACE_PREFIX)/Makefile.common
     86common.c: $(MIPDIR)/common.c
     87        ln -s -f $^ $@
    8388
     89external.c: arch/$(PLATFORM)/external.c
     90        ln -s -f $^ $@
     91
     92external.h: arch/$(PLATFORM)/external.h
     93        ln -s -f $^ $@
     94
Note: See TracChangeset for help on using the changeset viewer.