allow to specify config file
authornotaz <notasas@gmail.com>
Sun, 16 Jun 2013 16:46:11 +0000 (19:46 +0300)
committernotaz <notasas@gmail.com>
Sun, 16 Jun 2013 16:46:11 +0000 (19:46 +0300)
Makefile

index 4849d98..703cf35 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
 CFLAGS += -Wall -ggdb
+ifdef CONFIG_FILE
+CFLAGS += -DCONFIG_FILE=$(CONFIG_FILE)
+endif
 CXXFLAGS += $(CFLAGS)
 
 OBJS = Main.o Ea.o OpAny.o OpArith.o OpBranch.o OpLogic.o OpMove.o Disa/Disa.o