Makefile: set name and compilation options
[firmware_extractor.git] / 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