Changeset 2180


Ignore:
Timestamp:
Dec 2, 2006, 3:35:30 AM (14 years ago)
Author:
orlov
Message:
  • Makefile for build rfpc with C++-backend.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/branches/changing_directory_structure/compiler/Makefile

    r1915 r2180  
    1 TOPDIR = ..
     1TOPDIR = ../c++
    22include $(TOPDIR)/rules.mk
    33
    4 PROGRAMS = rfpc rfp-filt
     4RFPC = $(TOPDIR)/compiler/rfpc
     5RFLAGS = -B ../lib
     6
     7PROGRAMS = rfpc
    58
    69all:: $(PROGRAMS)
     
    2730  rfp_debug
    2831
    29 FILT_MODULES = \
    30   rfp-filt
    31 
    3232RFPC_SOURCES = $(RFPC_MODULES:=.rf)
    3333RFPC_OBJECTS = $(RFPC_MODULES:=.o)
    3434RFPC_CC_SOURCES = $(RFPC_MODULES:=.cc)
    3535RFPC_HH_SOURCES = $(RFPC_MODULES:=.hh)
    36 FILT_SOURCES = $(FILT_MODULES:=.rf)
    37 FILT_OBJECTS = $(FILT_MODULES:=.o)
    38 FILT_CC_SOURCES = $(FILT_MODULES:=.cc)
    39 FILT_HH_SOURCES = $(FILT_MODULES:=.hh)
    4036
    4137PROGRAMS_EXE = $(PROGRAMS:=$(EXE_SUFFIX))
    4238
    43 ALL_SOURCES = $(sort $(RFPC_SOURCES) $(FILT_SOURCES))
     39ALL_SOURCES = $(sort $(RFPC_SOURCES))
    4440ALL_INCLUDES = $(ALL_SOURCES:.rf=.rfi)
    4541
     
    6662
    6763$(RFPC_CC_SOURCES): $(RFPC_HH_SOURCES)
    68 $(FILT_CC_SOURCES): $(FILT_HH_SOURCES)
    6964
    7065rfpc: $(RFPC_OBJECTS) $(LIBRF) $(LIBRFRT) $(LIBPXX)
    7166
    72 rfp-filt: $(FILT_OBJECTS) $(LIBRF) $(LIBRFRT) $(LIBPXX)
    73 
    7467clean::
    75         rm -f $(PROGRAMS_EXE) $(RFPC_CC_SOURCES) $(RFPC_HH_SOURCES) \
    76               $(FILT_CC_SOURCES) $(FILT_HH_SOURCES) *.o *.s *.dep
     68        rm -f $(PROGRAMS_EXE) $(RFPC_CC_SOURCES) $(RFPC_HH_SOURCES) *.o *.s *.dep
    7769
    7870-include $(DEPS)
Note: See TracChangeset for help on using the changeset viewer.