Changeset 3575


Ignore:
Timestamp:
Mar 25, 2008, 7:55:20 PM (13 years ago)
Author:
orlov
Message:
  • Corrected Makefile (compiler sources are in src dir nowdays).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/compiler/Makefile

    r3145 r3575  
    33
    44RFPC = $(TOPDIR)/compiler/rfpc
    5 RFLAGS = -B ../lib -I . -I ../java/wrappers -e rfpc.Main
     5RFLAGS = -B ../lib -I src -I ../java/wrappers -e rfpc.Main
    66
    77PROGRAMS = rfpc
     
    3232  NativeJava
    3333
    34 RFPC_SOURCES = $(RFPC_MODULES:=.rf)
    35 RFPC_OBJECTS = $(RFPC_MODULES:=.o)
    36 RFPC_CC_SOURCES = $(RFPC_MODULES:=.cc)
     34RFPC_SOURCES = $(addprefix src/,$(RFPC_MODULES:=.rf))
     35RFPC_OBJECTS = $(addprefix src/,$(RFPC_MODULES:=.o))
     36RFPC_CC_SOURCES = $(addprefix src/,$(RFPC_MODULES:=.cc))
    3737
    3838PROGRAMS_EXE = $(PROGRAMS:=$(EXE_SUFFIX))
     
    6363
    6464rfpc: $(RFPC_OBJECTS) $(LIBRF) $(LIBRFRT) $(LIBPXX)
     65        $(CC) -o rfpc $(LDFLAGS) $(RFPC_OBJECTS) $(LIBRF) $(LIBRFRT) $(LIBPXX) $(LOADLIBES) $(LDLIBS)
    6566
    6667clean::
    67         rm -f $(PROGRAMS_EXE) $(RFPC_CC_SOURCES) *.o *.s *.dep
     68        rm -f $(PROGRAMS_EXE) $(RFPC_CC_SOURCES) $(RFPC_OBJECTS) $(DEPS)
    6869
    6970-include $(DEPS)
Note: See TracChangeset for help on using the changeset viewer.