CFLAGS_DBG :=
endif
-TARGET_CFLAGS = $(CFLAGS_DBG) -Iinclude -Wall
+TARGET_CFLAGS = $(CFLAGS_DBG) -Iinclude -Wall -Werror
+
+# require os code to explicitly request A/W version of structs/functions
+TARGET_CFLAGS += -D_DISABLE_TIDENTS
ROS_OBJECTS = rosglue.o i386/setjmplongjmp.o
ifeq ($(DBG), 1)
@$(MAKE) -f Makefile.freetype CFLAGS="-c -g -Wall" CC:=$(CC)
else
- @$(MAKE) -f Makefile.freetype CC:=$(CC)
+ @$(MAKE) -f Makefile.freetype CFLAGS="-c -Wall -O3" CC:=$(CC)
endif
# Automatic dependency tracking