diff options
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | config.mk | 5 | ||||
| -rw-r--r-- | src/Makefile | 3 |
3 files changed, 7 insertions, 7 deletions
@@ -1,8 +1,4 @@ -PROGRAM_NAME=diff-dd -PROGRAM_VERSION=2.0.0 - -export PROGRAM_NAME -export PROGRAM_VERSION +include config.mk all: $(MAKE) -C src all diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..b993552 --- /dev/null +++ b/config.mk @@ -0,0 +1,5 @@ +PROGRAM_NAME = diff-dd +PROGRAM_VERSION = 2.0.0 + +CC=g++ +CFLAGS=-Wall -fmax-errors=2 diff --git a/src/Makefile b/src/Makefile index 7aa7e25..2f6ec09 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,4 @@ -CC=g++ -CFLAGS=-Wall -fmax-errors=2 +include ../config.mk SOURCES=*.cpp HEADERS=*.h |
