projects
/
firmware_extractor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
heap_reap: fix linked-list element insertion
[firmware_extractor.git]
/
Makefile
1
PROG = fwex
2
OBJS = firmware_extractor.o lzw_decode.o heap_reap.o
3
CFLAGS = -Wall -std=c11 -g -DPROGRAM_NAME=\"$(PROG)\" -DCOMPRESSED_CONFIG_FILE
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) $(OBJS)
15
16
tests:
17
$(MAKE) -C testsuite
18
19
.PHONY: clean