diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 08:09:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 08:09:22 +0000 |
commit | 6b4d032d4964caaa85be4ba8f3a7874afbf958cc (patch) | |
tree | a9846103274b39705a7e8be9fc28c006c18094b1 /isci/Makefile | |
parent | Initial commit. (diff) | |
download | firmware-nonfree-6b4d032d4964caaa85be4ba8f3a7874afbf958cc.tar.xz firmware-nonfree-6b4d032d4964caaa85be4ba8f3a7874afbf958cc.zip |
Adding upstream version 20230625.upstream/20230625
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'isci/Makefile')
-rw-r--r-- | isci/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/isci/Makefile b/isci/Makefile new file mode 100644 index 0000000..3849373 --- /dev/null +++ b/isci/Makefile @@ -0,0 +1,23 @@ +# Makefile for create_fw +# +CC=gcc +CFLAGS=-c -Wall -O2 -g +LDFLAGS= +SOURCES=create_fw.c +OBJECTS=$(SOURCES:.cpp=.o) +EXECUTABLE=create_fw +BLOB=isci_firmware.bin + +all: $(SOURCES) $(EXECUTABLE) $(BLOB) + +$(EXECUTABLE): $(OBJECTS) + $(CC) $(LDFLAGS) $(OBJECTS) -o $@ + +.c.o: + $(CC) $(CFLAGS) $< -O $@ + +$(BLOB): $(EXECUTABLE) + ./$(EXECUTABLE) >$@ + +clean: + rm -f *.o $(EXECUTABLE) |