Changeset 1390:c8639bc29ac3


Ignore:
Timestamp:
10/22/09 18:26:04 (2 years ago)
Author:
niam
Branch:
default
Message:

exaples build fix

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/configure

    r1386 r1390  
    641641LIBOBJS 
    642642DEBUG 
    643 TESTS 
     643EXAMPLES 
    644644DEPS 
    645645OBJECTS 
     
    53745374 
    53755375 
    5376 TESTS=$(for i in examples/*; do test -d $i && echo -n "${i#tests/} "; done) 
     5376EXAMPLES=$(for i in examples/*; do test -d $i && echo -n "${i#examples/} "; done) 
    53775377 
    53785378cat > include/libdodo/directives.runtime.h  <<EOF 
  • src/configure.in

    r1386 r1390  
    7474DEPS=$(for i in src/*cc; do i=${i#src/}; echo -n "${i/%cc/d} "; done) 
    7575 
    76 AC_SUBST(TESTS) 
    77 TESTS=$(for i in examples/*; do test -d $i && echo -n "${i#tests/} "; done) 
     76AC_SUBST(EXAMPLES) 
     77EXAMPLES=$(for i in examples/*; do test -d $i && echo -n "${i#examples/} "; done) 
    7878 
    7979cat > include/libdodo/directives.runtime.h  <<EOF 
  • src/examples/Makefile.in

    r1386 r1390  
    1 TESTS=@TESTS@ 
     1EXAMPLES=@EXAMPLES@ 
    22 
    3 .PHONY:$(TESTS) 
     3.PHONY:$(EXAMPLES) 
    44 
    5 all: $(TESTS) 
    6 $(TESTS): 
     5all: $(EXAMPLES) 
     6$(EXAMPLES): 
    77        @echo "-- Building test for $@"; $(MAKE) -s -C $@; if test $$? != 0; then echo "-- Building test for $@ failed" >&2; exit $$?; fi  
    88 
    99clean: 
    10         @for i in $(TESTS); do $(MAKE) -s -C $$i clean; done; 
     10        @for i in $(EXAMPLES); do $(MAKE) -s -C $$i clean; done; 
    1111 
Note: See TracChangeset for help on using the changeset viewer.