Ignore:
File:
1 edited

Legend:

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

    r5889fc74 r5974661  
    3434DEFS = -Dmach_$(PLATFORM) -D__helenos__ -DPCC_DEBUG -DGCC_COMPAT -Dfree=free
    3535BINARY = ccom
    36 
    37 PRE_DEPEND = cgram.c scan.c external.c external.h common.c compat.c
    38 EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h common.c compat.c \
    39         $(MIPDIR)/*.o $(MDIR)/*.o
     36EXTRA_CLEAN = cgram.c cgram.h scan.c external.c external.h
    4037
    4138POSIX_COMPAT = y
     
    5451        $(MIPDIR)/optim2.c \
    5552        $(MIPDIR)/regs.c \
    56         common.c \
    57         compat.c \
     53        $(MIPDIR)/common.c \
     54        $(MIPDIR)/compat.c \
    5855        cgram.c \
    5956        scan.c \
     
    7067        trees.c
    7168
    72 include $(USPACE_PREFIX)/Makefile.common
    73 
    7469cgram.c: cgram.y
    7570        $(YACC) $(YFLAGS) -d $<
     
    8176        mv lex.yy.c scan.c
    8277
    83 compat.c: $(MIPDIR)/compat.c
    84         ln -s -f $^ $@
     78external.c external.h:
     79        ln -s arch/$(PLATFORM)/external.c external.c
     80        ln -s arch/$(PLATFORM)/external.h external.h
    8581
    86 common.c: $(MIPDIR)/common.c
    87         ln -s -f $^ $@
     82include $(USPACE_PREFIX)/Makefile.common
    8883
    89 external.c: arch/$(PLATFORM)/external.c
    90         ln -s -f $^ $@
    91 
    92 external.h: arch/$(PLATFORM)/external.h
    93         ln -s -f $^ $@
    94 
Note: See TracChangeset for help on using the changeset viewer.