Ignore:
File:
1 edited

Legend:

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

    r4ac901c r5889fc74  
    3131ARCHDIR = ../../arch/$(PLATFORM)
    3232EXTRA_CFLAGS = -I$(MIPDIR) -I$(ARCHDIR) -w
    33 EXTRA_CLEAN = y.tab.c y.tab.h
    3433DEFS = -DCPP_DEBUG -Dfree=free -DCPPBUF=16384
    3534BINARY = cpp
     35
     36PRE_DEPEND = compat.c
     37EXTRA_CLEAN = compat.c y.tab.c y.tab.h
    3638
    3739POSIX_COMPAT = y
     
    4345        cpp.c \
    4446        token.c \
    45         $(MIPDIR)/compat.c
     47        compat.c
     48
     49include $(USPACE_PREFIX)/Makefile.common
    4650
    4751y.tab.c:
    4852        $(YACC) -d cpy.y
    4953
    50 include $(USPACE_PREFIX)/Makefile.common
     54compat.c: $(MIPDIR)/compat.c
     55        ln -s -f $^ $@
    5156
Note: See TracChangeset for help on using the changeset viewer.