Ignore:
Timestamp:
12/04/09 01:31:14 (4 years ago)
Author:
reyalp
Message:

WARNING this may break some existing scripts, see http://chdk.setepontos.com/index.php/topic,4408.0.html and http://chdk.setepontos.com/index.php/topic,4276.0.html

  • add UBASIC_DEBUG option to build the verbose debug version of ubasic_test, fix warning in tokenizer.c test version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ubasic/Makefile

    r846 r854  
    1111libubasic.a: $(OBJS) 
    1212 
     13UBASIC_TEST_CFLAGS=-g -Wall -DUBASIC_TEST -DCAMERA_$(PLATFORM) -DPLATFORMID=$(PLATFORMID) 
     14ifdef UBASIC_DEBUG 
     15        UBASIC_TEST_CFLAGS+=-DDEBUG=1 
     16endif 
     17 
    1318check: 
    14         gcc -g -Wall -DUBASIC_TEST -DCAMERA_$(PLATFORM) -DPLATFORMID=$(PLATFORMID) -o ubasic_test$(EXE) *.c 
     19        gcc $(UBASIC_TEST_CFLAGS) -o ubasic_test$(EXE) $(OBJS:.o=.c) run-ubasic.c 
    1520 
    1621clean: 
Note: See TracChangeset for help on using the changeset viewer.