diff examples/build_Makefile @ 2113:ba637aa555ec

Improved setup for newer compilers (which have problems with some options)
author gthomas
date Mon, 12 Dec 2005 21:58:11 +0000
parents e68cf4daeda4
children
line wrap: on
line diff
--- a/examples/build_Makefile
+++ b/examples/build_Makefile
@@ -19,10 +19,10 @@ include Make.params
 # Simple build rules
 
 .c.o:
-	\$(CC) -c \$(ECOS_GLOBAL_CFLAGS) -I\$(PREFIX)/include \$*.c
+	\$(CC) -c \$(ACTUAL_CFLAGS) -I\$(PREFIX)/include \$*.c
 
 .o:
-	\$(CC) \$(ECOS_GLOBAL_LDFLAGS) -L\$(PREFIX)/lib -Ttarget.ld \$*.o -o \$@
+	\$(CC) \$(ACTUAL_LDFLAGS) -L\$(PREFIX)/lib -Ttarget.ld \$*.o -o \$@
 
 SRCS=${SRCS-source_file.c}
 OBJS=\${SRCS:%.c=%.o}