Fix write length so it includes the updated header (tag) CRC32
[firmware_header_edit.git] / Makefile
1 PROG = fwheaditor
2 OBJS = heap_reap.o firmware_header_editor.o
3 CFLAGS = -std=c11 -g
4
5 export PROG
6
7 $(PROG): $(OBJS)
8         $(CC) $(CFLAGS) -o $@ $(OBJS)
9
10 %.c:
11         $(CC) $(CFLAGS) -c $@
12
13 clean:
14         -rm -f $(PROG) $(OBJ)
15
16 tests:
17         $(MAKE) -C testsuite
18
19 .PHONY: clean