Changeset 716


Ignore:
Timestamp:
May 3, 2003, 2:12:35 PM (18 years ago)
Author:
orlov
Message:
  • Test for $const'ants compilation.
Location:
to-imperative/trunk/samples/Syntax
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/samples/Syntax/Makefile

    r691 r716  
    33include $(TOPDIR)/rules.mk
    44
    5 CPPFLAGS += -I$(TOPDIR)/runtime -I$(TOPDIR)/libp++
    6 CPPFLAGS += -I$(TOPDIR)/library/include
    7 CPPFLAGS += -DALL_INLINE #-DRFRT_DISABLE_TAIL_RECURSION
    8 #CFLAGS += -finline-limit=10000 -march=pentium3
     5SAMPLES = \
     6  assign2 \
     7  const4
    98
    10 SAMPLES = \
    11   assign1 \
    12   assign2 \
    13   static1
    14 
    15 
    16 SAMPLES_SOURCES  = $(SAMPLES:=.cc)
    17 SAMPLES_SOURCES += $(SAMPLES:=.rf)
    18 DEPS = $(SAMPLES:=.dep)
    19 
    20 DISTFILES = Makefile
    21 DISTFILES += $(SAMPLES_SOURCES)
    22 
    23 all:: $(SAMPLES)
    24 
    25 RFPC = $(TOPDIR)/compiler/rfpc
    26 LIBRF = $(TOPDIR)/library/librf.a
    27 LIBRFRT = $(TOPDIR)/runtime/librfrt.a
    28 LIBPXX = $(TOPDIR)/libp++/libp++.a
    29 
    30 #$(SAMPLES): $(LIBRFRT)
    31 
    32 LDFLAGS += -L$(TOPDIR)/library -L$(TOPDIR)/runtime
    33 LDFLAGS += -L$(TOPDIR)/libp++ -L$(TOPDIR)/libstdc++-stub
    34 LDLIBS += -lrf -lrfrt -lp++ -lsupc++
     9include $(TOPDIR)/samples/samples.mk
    3510
    3611%.cc: %.rf
    3712        $(RFPC) -cc -no $<
    3813
    39 #%.o: %.cc
    40 ##      $(RFPC) -cc $<
    41 #       $(CXX) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(<:.rf=.cc)
    42 
    43 #$(SAMPLES): %: %.o $(LIBRF) $(LIBRFRT) $(LIBPXX)
    44 #       $(CXX) -o $@ $< $(LDFLAGS) $(LDLIBS)
    45 
    46 $(SAMPLES): %: %.cc ;
    47 
    48 clean::
    49         rm -f $(SAMPLES) *.o *.dep
    50 
    51 #-include $(DEPS)
     14-include $(DEPS)
Note: See TracChangeset for help on using the changeset viewer.