Changeset 203

Show
Ignore:
Timestamp:
05/18/06 07:24:04 (4 years ago)
Author:
solar
Message:

Added single-file test, -fno-builtin CFLAG.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile

    r202 r203  
    2828PATCHFILES2 := $(shell ls platform/example/functions/stdlib/*.c) 
    2929 
    30 CFLAGS := -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wconversion -Wstrict-prototypes 
     30CFLAGS := -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wconversion -Wstrict-prototypes -fno-builtin 
    3131 
    32 .PHONY: all clean dist tests testdrivers regtests regtestdrivers todos fixmes find links unlink help 
     32.PHONY: all clean dist test tests testdrivers regtests regtestdrivers todos fixmes find links unlink help 
    3333 
    3434all: pdclib.a 
     
    3636pdclib.a: $(OBJFILES) 
    3737        @ar r pdclib.a $? 
     38 
     39test: $(FILE) 
     40        $(FILE) 
    3841 
    3942tests: testdrivers 
     
    8487        @echo "clean            - remove all object files, dependency files and test drivers" 
    8588        @echo "dist             - build pdclib.tgz (source tarball)" 
     89        @echo "test             - test a single testdriver (Usage: FILE=\"test.[rt]\" make test)" 
    8690        @echo "tests            - build and run test drivers (link pdclib.a)" 
    8791        @echo "  testdrivers    - build but do not run test drivers"