Better C++ case handling

master
Yevgen Muntyan 2008-08-27 13:09:22 -05:00
parent 8c4a5f856c
commit da79b54ff2
1 changed files with 10 additions and 3 deletions

View File

@ -10,17 +10,24 @@ MODULE = medit
bin_PROGRAMS = medit
EXTRA_DIST += main.c
medit_SOURCES = $(real_main_c) mem-debug.h
BUILT_SOURCES += $(real_main_c) medit.iss
medit_SOURCES = mem-debug.h
nodist_medit_SOURCES =
real_main_c = main.c
medit_SOURCES += main.c
# if MOO_USE_CPP
# real_main_c = cpp-main.cpp
# main.lo: cpp-main.lo ; @true
# cpp-main.cpp: main.c
# echo "#line 1 \"$(srcdir)/main.c\"" > cpp-main.cpp.tmp && \
# cat $(srcdir)/main.c >> cpp-main.cpp.tmp && \
# mv cpp-main.cpp.tmp cpp-main.cpp
# nodist_medit_SOURCES += cpp-main.cpp
# BUILT_SOURCES += cpp-main.cpp
# CLEANFILES += cpp-main.cpp
# else
# medit_SOURCES += main.c
# endif
medit_LDFLAGS += -export-dynamic
include ../moo/moo-comps.mk