DDR Timing
This post will speak about the DDR Timings. Before that we will see what is DDR, how its storing the bits.
What is DRAM, How its Storing the Bits?.
What is DRAM, How its Storing the Bits?.
Makefile
Makefile is a file which is used for determines which code needs to be recompiled in a large software package. Using the make utility, we can execute the makefile. Makefile contains set of rules and these rules tells how to compile the particular source file.
Rule Syntax:
target : Prerequisite
Actions
Target : Output file name or action
Example : hello.o
Action : Action indicates how to compile the prerequiste and generate the target.
Prerequisite : Input file which is going to generate the target.
Example:
hello.o : hello.c
gcc -c hello.c
default goal:
When giving the make command with out any target like(make). It will start exceute from the first target.
Example: Makefile
king.o : king.c
gcc -c king.c
slave.o :slave.c
gcc -c slave.c
[simplefundas@localhost make_prog]$ make.
In the command prompt if we give make like this it will first execute the king target and next its start to exceute the slave target. If you want to execute the slave target
first you need to define withe the .DEFAULT_GOAL macro.
Example : Modified Makefile
.DEFAULT_GOAL := slave.o
king.o : king .c:
gcc -c king.c
slave.o : slave.c
gcc -c slave.c
Now It will comiple only slave.o. Because the .DEFAULT_GOAL is pointing slave.o.