pea
developer
Hi all,
Where is CFLAGS actually used in this makefile? I checked all my makefiles and realised that the CFLAGS variable is not actually used anywhere. Does make look for this variable and use it internally?
example from Mr.Mirko SDK
	
	
	
		
				
			Where is CFLAGS actually used in this makefile? I checked all my makefiles and realised that the CFLAGS variable is not actually used anywhere. Does make look for this variable and use it internally?
example from Mr.Mirko SDK
		Code:
	
	CC = arm-elf-gcc
LD = arm-elf-gcc
AS = arm-elf-as
AR = arm-elf-ar
INCLUDES = -I../../lib.src/include
CFLAGS = $(INCLUDES) -O2 -s -mtune=arm9tdmi
 
OBJS =  gp_chatboard.o
all:	$(OBJS)
	$(AR) rcs gp_chatboard.a $(OBJS)
	cp gp_chatboard.a ../../lib/
	rm *.a *.o
clean:
	rm -f *.o *~
	
	