mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
parent
d764a67709
commit
bd0cfec731
@ -136,11 +136,6 @@ convert_swig: build/S_library_swig
|
||||
S_define_exp:
|
||||
$(TRICK_CC) -E -C -xc++ ${TRICK_SFLAGS} $(TRICK_SYSTEM_SFLAGS) S_define > $@
|
||||
|
||||
# prints the value of a makefile variable, example invocation "make print-TRICK_CXXFLAGS"
|
||||
# This rule is used by trick-config
|
||||
print-%:
|
||||
@echo '$*=$($*)'
|
||||
|
||||
help:
|
||||
@echo -e "\
|
||||
Simulation make options:\n\
|
||||
|
@ -26,7 +26,7 @@ sub print_prefix() {
|
||||
|
||||
# Run a special rule in Makefile.sim that prints the value of the environment variable we request
|
||||
sub print_makefile_var($) {
|
||||
open(README, "make -f $ENV{TRICK_HOME}/share/trick/makefiles/Makefile.sim print-@_ | ") or
|
||||
open(README, "make -f $ENV{TRICK_HOME}/share/trick/makefiles/Makefile.common print-@_ | ") or
|
||||
die "Couldn't fork $!\n" ;
|
||||
while (<README>) {
|
||||
/=(.*)/ && print "$1\n" ;
|
||||
|
@ -155,3 +155,8 @@ TRICK_DEFINES = $(shell $(PERL) -e '@defines = "${TRICK_CFLAGS}" =~ /-D\s*(\S+)
|
||||
|
||||
DEPFILE = $(PWD)/Makefile_deps
|
||||
DEPTEMPFILE = $(PWD)/Makefile_temp_depends
|
||||
|
||||
# prints the value of a makefile variable, example invocation "make print-TRICK_CXXFLAGS"
|
||||
# This rule is used by trick-config
|
||||
print-%:
|
||||
@echo '$*=$($*)'
|
||||
|
@ -1 +1 @@
|
||||
current_version = "17.2.dev"
|
||||
current_version = "17.4.dev"
|
||||
|
Loading…
Reference in New Issue
Block a user