Clean up -pedantic flag.

Add support for objective-C.
This commit is contained in:
W. Eric Norum
2003-02-10 16:28:48 +00:00
parent 0e15ac20e3
commit 8eb5ff24c6
2 changed files with 16 additions and 2 deletions

View File

@@ -10,6 +10,9 @@
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
#
# Set OS-specific information
#
OS_CLASS = Darwin
ARCH_CLASS = ppc
@@ -29,7 +32,6 @@ CPPSNCFLAGS += -no-cpp-precomp
#
OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include
OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib
OP_SYS_LDLIBS +=
#
# Stuff that will be needed when going to shared libraries
@@ -44,4 +46,3 @@ SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
# Command-line input support
COMMANDLINE_LIBRARY=LIBTECLA
LDLIBS_LIBTECLA = -ltecla_r -lncurses

View File

@@ -32,3 +32,16 @@ OPT_CXXFLAGS_YES = -O2
# Static linking fails on OS X (missing crt0.o)
#
STATIC_LDFLAGS_YES =
#
# Add support for Objective-C source
#
vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS)
%.o: %.m
$(COMPILE.c) -c $<
#
# Pedantic produces way too many unnecessary messages
#
CONFORM_CFLAGS_STRICT=-ansi
CONFORM_CXXFLAGS_STRICT=-ansi