Better C++ case handling
parent
8c4a5f856c
commit
da79b54ff2
|
@ -10,17 +10,24 @@ MODULE = medit
|
||||||
bin_PROGRAMS = medit
|
bin_PROGRAMS = medit
|
||||||
|
|
||||||
EXTRA_DIST += main.c
|
EXTRA_DIST += main.c
|
||||||
medit_SOURCES = $(real_main_c) mem-debug.h
|
medit_SOURCES = mem-debug.h
|
||||||
BUILT_SOURCES += $(real_main_c) medit.iss
|
|
||||||
nodist_medit_SOURCES =
|
nodist_medit_SOURCES =
|
||||||
|
|
||||||
real_main_c = main.c
|
medit_SOURCES += main.c
|
||||||
|
|
||||||
|
# if MOO_USE_CPP
|
||||||
# real_main_c = cpp-main.cpp
|
# real_main_c = cpp-main.cpp
|
||||||
# main.lo: cpp-main.lo ; @true
|
# main.lo: cpp-main.lo ; @true
|
||||||
# cpp-main.cpp: main.c
|
# cpp-main.cpp: main.c
|
||||||
# echo "#line 1 \"$(srcdir)/main.c\"" > cpp-main.cpp.tmp && \
|
# echo "#line 1 \"$(srcdir)/main.c\"" > cpp-main.cpp.tmp && \
|
||||||
# cat $(srcdir)/main.c >> cpp-main.cpp.tmp && \
|
# cat $(srcdir)/main.c >> cpp-main.cpp.tmp && \
|
||||||
# mv cpp-main.cpp.tmp cpp-main.cpp
|
# 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
|
medit_LDFLAGS += -export-dynamic
|
||||||
include ../moo/moo-comps.mk
|
include ../moo/moo-comps.mk
|
||||||
|
|
Loading…
Reference in New Issue