]> git.openfabrics.org - ~shefty/rdma-dev.git/blob - drivers/scsi/isci/firmware/Makefile
[SCSI] megaraid_sas: Version and Changelog update
[~shefty/rdma-dev.git] / drivers / scsi / isci / firmware / Makefile
1 # Makefile for create_fw
2 #
3 CC=gcc
4 CFLAGS=-c -Wall -O2 -g
5 LDFLAGS=
6 SOURCES=create_fw.c
7 OBJECTS=$(SOURCES:.cpp=.o)
8 EXECUTABLE=create_fw
9
10 all: $(SOURCES) $(EXECUTABLE)
11
12 $(EXECUTABLE): $(OBJECTS)
13         $(CC) $(LDFLAGS) $(OBJECTS) -o $@
14
15 .c.o:
16         $(CC) $(CFLAGS) $< -O $@
17
18 clean:
19         rm -f *.o $(EXECUTABLE)