cantera/samples/cxx/Makefile.in
Ray Speth bc609ce2da [SCons] Fix Makefiles generated for C++ examples
- Use CXXFLAGS to pass flags to C++ compiler (not CCFLAGS)
- Set CXXFLAGS based on flags that Cantera was compiled with (which will include
  things like -pthread and -std=c++0x as necessary
- Remove incorrect / unused target for the target binary
- Add the generated binary to things remove by 'make clean'
2016-07-22 13:09:54 -04:00

20 lines
295 B
Makefile

include @make_Cantera_dot_mak@
CC=@CC@
CXX=@CXX@
RM=rm -f
CXXFLAGS=@mak_compiler_flags@
CPPFLAGS=$(CANTERA_INCLUDES)
LDFLAGS=
LDLIBS=$(CANTERA_LIBS)
SRCS=@tmpl_sourcename@
OBJS=$(subst .cpp,.o,$(SRCS))
all: @tmpl_progname@
clean:
$(RM) $(OBJS) @tmpl_progname@
dist-clean: clean
$(RM) *~