Commit 5e2593b3684990104338cbecd17ab609d7c20fe9
Compile with -MP option
This avoids build errors after header file rename or removal by creating
phony targets.
Author: xaizek
Author date (UTC): 2019-11-16 20:04
Committer name: xaizek
Committer date (UTC): 2019-11-16 20:04
Parent(s): 8a1c651669a331e9827af9bcc84ec0aed890183d
Signing key: 99DC5E4DB05F6BE2
Tree: 2eeee750cbce0ab6d367a679d8f826d2050dfa2b
File |
Lines added |
Lines deleted |
Makefile |
1 |
1 |
File Makefile changed (mode: 100644) (index 8e38111..476ebf2) |
1 |
|
CXXFLAGS += -std=gnu++11 -Wall -Wextra -Werror -MMD -I$(abspath src) |
|
|
1 |
|
CXXFLAGS += -std=gnu++11 -Wall -Wextra -Werror -MMD -MP -I$(abspath src) |
2 |
2 |
CXXFLAGS += -Wno-non-template-friend -include config.h |
CXXFLAGS += -Wno-non-template-friend -include config.h |
3 |
3 |
LDFLAGS += -g -lsqlite3 -lgit2 -lsource-highlight -lz |
LDFLAGS += -g -lsqlite3 -lgit2 -lsource-highlight -lz |
4 |
4 |
LDFLAGS += -lboost_filesystem -lboost_iostreams -lboost_program_options |
LDFLAGS += -lboost_filesystem -lboost_iostreams -lboost_program_options |