Makefile: set name and compilation options
authorTJ <hacker@iam.tj>
Sat, 9 Apr 2016 09:23:31 +0000 (10:23 +0100)
committerTJ <hacker@iam.tj>
Sat, 9 Apr 2016 09:23:31 +0000 (10:23 +0100)
Makefile

index 4431e86..718995f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-PROG = fwlzw
-OBJS = lzw_decode.o lzw_encode.o heap_reap.o firmware_lzw.o
-CFLAGS = -std=c11 -g
+PROG = fwex
+OBJS = firmware_extractor.o lzw_decode.o heap_reap.o
+CFLAGS = -Wall -std=c11 -g -DPROGRAM_NAME=\"$(PROG)\" -DCOMPRESSED_CONFIG_FILE
 
 export PROG