TESTROOT = ../..
include ${TESTROOT}/include/common.makefile
-ifeq "-arch ppc" "$(ARCH)"
+ifeq "ppc" "$(ARCH)"
CXX_VERSION = g++-3.3
else
CXX_VERSION = ${CXX}
endif
-run: all
+all-check: all check
+
+check:
./main
all: main test.bundle
main : main.c
- ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c
+ ${CC} ${CCFLAGS} -Wno-deprecated-declarations -I${TESTROOT}/include -o main main.c
test.bundle : bundle.cxx
- ${CC} ${CXXFLAGS} -bundle -o test.bundle bundle.cxx
+ ${CXX} ${CXXFLAGS} -bundle -o test.bundle bundle.cxx
clean:
${RM} ${RMFLAGS} *~ main test.bundle