aboutsummaryrefslogtreecommitdiff
path: root/src/cctest/makefile
blob: d46d7c3ed9f3e9712eea23af7ea1040a25937782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile to test various C/C++ compiler features

CXX = gcc -W -Wall -pedantic -ansi

test-namespace	:
	-$(CXX) -o test-stdio_h-global test-stdio_h-global.cc
	-./test-stdio_h-global
	-$(CXX) -o test-stdio_h-std    test-stdio_h-std.cc
	-./test-stdio_h-std
	-$(CXX) -o test-cstdio-global  test-cstdio-global.cc
	-./test-cstdio-global
	-$(CXX) -o test-cstdio-std     test-cstdio-std.cc
	-./test-cstdio-std
clean-namespace	:
	-rm -f test-stdio_h-global test-stdio_h-std \
               test-cstdio-global  test-cstdio-std