Last change
on this file since 3145 was
3145,
checked in by orlov, 13 years ago
|
- Fixed -e compiler option.
- Updated Makefile.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | TOPDIR = ../c++ |
---|
2 | include $(TOPDIR)/rules.mk |
---|
3 | |
---|
4 | RFPC = $(TOPDIR)/compiler/rfpc |
---|
5 | RFLAGS = -B ../lib -I . -I ../java/wrappers -e rfpc.Main |
---|
6 | |
---|
7 | PROGRAMS = rfpc |
---|
8 | |
---|
9 | all:: $(PROGRAMS) |
---|
10 | |
---|
11 | RFPC_MODULES = \ |
---|
12 | rfpc \ |
---|
13 | rfp_lex \ |
---|
14 | rfp_parse \ |
---|
15 | rfp_compile \ |
---|
16 | rfp_err \ |
---|
17 | rfp_src \ |
---|
18 | rfp_asail \ |
---|
19 | rfp_asail_cpp \ |
---|
20 | rfp_asail_java \ |
---|
21 | rfp_asail_jbc \ |
---|
22 | rfp_asail_tpp \ |
---|
23 | rfp_as2as \ |
---|
24 | rfp_check \ |
---|
25 | rfp_format \ |
---|
26 | rfp_helper \ |
---|
27 | rfp_vars \ |
---|
28 | rfp_const \ |
---|
29 | rfp_clashes \ |
---|
30 | rfp_asail2asail \ |
---|
31 | rfp_debug \ |
---|
32 | NativeJava |
---|
33 | |
---|
34 | RFPC_SOURCES = $(RFPC_MODULES:=.rf) |
---|
35 | RFPC_OBJECTS = $(RFPC_MODULES:=.o) |
---|
36 | RFPC_CC_SOURCES = $(RFPC_MODULES:=.cc) |
---|
37 | |
---|
38 | PROGRAMS_EXE = $(PROGRAMS:=$(EXE_SUFFIX)) |
---|
39 | |
---|
40 | ALL_SOURCES = $(sort $(RFPC_SOURCES)) |
---|
41 | ALL_INCLUDES = $(ALL_SOURCES:.rf=.rfi) |
---|
42 | |
---|
43 | DISTFILES = Makefile |
---|
44 | DISTFILES += gendeps.sh |
---|
45 | DISTFILES += $(ALL_SOURCES) $(ALL_INCLUDES) |
---|
46 | |
---|
47 | DEPS = $(ALL_SOURCES:.rf=.dep) |
---|
48 | |
---|
49 | #ifndef NODEPS |
---|
50 | # |
---|
51 | #%.dep: %.rf |
---|
52 | # @echo Generating dependencies for $< |
---|
53 | # @./gendeps.sh $< |
---|
54 | # |
---|
55 | #endif |
---|
56 | # |
---|
57 | #ifeq ($(RFP),rfp) |
---|
58 | #LDFLAGS= |
---|
59 | #LDLIBS= |
---|
60 | #endif |
---|
61 | |
---|
62 | CPPFLAGS += $(RFRTLIB_CFLAGS) $(RFLIB_CFLAGS) |
---|
63 | |
---|
64 | rfpc: $(RFPC_OBJECTS) $(LIBRF) $(LIBRFRT) $(LIBPXX) |
---|
65 | |
---|
66 | clean:: |
---|
67 | rm -f $(PROGRAMS_EXE) $(RFPC_CC_SOURCES) *.o *.s *.dep |
---|
68 | |
---|
69 | -include $(DEPS) |
---|
Note: See
TracBrowser
for help on using the repository browser.