diff options
author | koekeishiya <aasvi93@hotmail.com> | 2018-08-05 00:58:41 +0200 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2018-08-05 00:58:41 +0200 |
commit | c22aecba94046adad69f88b06cf1f4f7d3c35d3e (patch) | |
tree | efc1f501e28b410cfebbd3d889d1614ba543354c /makefile | |
parent | 9add5f1470c20d196d71aed73ee907de974237c2 (diff) | |
download | skhd-c22aecba94046adad69f88b06cf1f4f7d3c35d3e.tar.gz skhd-c22aecba94046adad69f88b06cf1f4f7d3c35d3e.zip |
update targets
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,18 +1,21 @@ FRAMEWORKS = -framework Carbon BUILD_PATH = ./bin -BUILD_FLAGS = -std=c99 -Wall -g -O0 -DSKHD_PROFILE +BUILD_FLAGS = -std=c99 -Wall -g -O0 SKHD_SRC = ./src/skhd.c BINS = $(BUILD_PATH)/skhd -.PHONY: all clean install +.PHONY: all clean install profile fast_profile all: clean $(BINS) install: BUILD_FLAGS=-std=c99 -O3 install: clean $(BINS) -segfault: BUILD_FLAGS=-O0 -g -Wall -std=c99 -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param ssp-buffer-size=4 -fPIC -fno-strict-overflow -Wformat -Wformat-security -Werror=format-security -segfault: clean $(BINS) +profile: BUILD_FLAGS=-std=c99 -Wall -g -O0 -DSKHD_PROFILE +profile: clean $(BINS) + +fast_profile: BUILD_FLAGS=-std=c99 -O3 -DSKHD_PROFILE +fast_profile: clean $(BINS) clean: rm -rf $(BUILD_PATH) |