diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ CC=gcc -CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -Wformat-truncation=2 -Wformat-overflow -fno-common -std=gnu99 -CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -static -std=gnu99 +CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -Wformat-truncation=2 -Wformat-overflow -fno-common -std=c99 +CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -static -std=c99 TARGET=tsr TESTTARGET=tsr-TESTING SP_TESTTARGET=tsr-SP @@ -8,7 +8,7 @@ INSTALL_DIRECTORY=/usr/local/bin MAKEFLAGS += SRCS=trashsys.c SRCS_SP=trashsys_small_paths.c -P_MAX_SIZE="47" +#P_MAX_SIZE="47" all: release clean: @@ -20,9 +20,9 @@ clean: tests: cp $(SRCS) $(SRCS_SP) $(CC) $(CFLAGS_TESTBIN) $(SRCS) -o test/$(TESTTARGET) - sed -i "s#PATH_MAX#$(P_MAX_SIZE)#g" $(SRCS_SP) - $(CC) $(CFLAGS_TESTBIN) $(SRCS_SP) -o test/$(SP_TESTTARGET) - rm -f $(SRCS_SP) + #sed -i "s#PATH_MAX#$(P_MAX_SIZE)#g" $(SRCS_SP) + #$(CC) $(CFLAGS_TESTBIN) $(SRCS_SP) -o test/$(SP_TESTTARGET) + #rm -f $(SRCS_SP) install: cp $(TARGET) $(INSTALL_DIRECTORY) |