build: standardise script filenames
This commit is contained in:
4
Makefile
4
Makefile
@@ -33,7 +33,7 @@ LIBC_SRC_DIRS := stdio string ctype
|
|||||||
LIBC_C_FILES := $(foreach dir,$(LIBC_SRC_DIRS),$(wildcard libc/$(dir)/*.c))
|
LIBC_C_FILES := $(foreach dir,$(LIBC_SRC_DIRS),$(wildcard libc/$(dir)/*.c))
|
||||||
LIBC_OBJ := $(addprefix $(BUILD_DIR)/,$(LIBC_C_FILES:.c=.o))
|
LIBC_OBJ := $(addprefix $(BUILD_DIR)/,$(LIBC_C_FILES:.c=.o))
|
||||||
|
|
||||||
BUILD_ID := $(shell tools/generate_build_id.py --arch $(SOCKS_ARCH))
|
BUILD_ID := $(shell tools/socks.buildid --arch $(SOCKS_ARCH))
|
||||||
|
|
||||||
CWARNINGS := -Wall -Werror -pedantic -Wno-language-extension-token -Wno-unused-function -Wno-gnu-statement-expression
|
CWARNINGS := -Wall -Werror -pedantic -Wno-language-extension-token -Wno-unused-function -Wno-gnu-statement-expression
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ clean:
|
|||||||
$(BUILD_DIR)/compile_commands.json:
|
$(BUILD_DIR)/compile_commands.json:
|
||||||
@printf " \033[1;93mGEN\033[0m Generating compiler database.\n"
|
@printf " \033[1;93mGEN\033[0m Generating compiler database.\n"
|
||||||
|
|
||||||
@./tools/make/generate_compile_commands.py
|
@./tools/socks.compiledb
|
||||||
|
|
||||||
compile-db: $(BUILD_DIR)/compile_commands.json
|
compile-db: $(BUILD_DIR)/compile_commands.json
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# vim: ft=python
|
||||||
|
# -*- mode: python -*-
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# vim: ft=python
|
||||||
|
# -*- mode: python -*-
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
5
tools/socks.kexttool
Executable file
5
tools/socks.kexttool
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# vim: ft=python
|
||||||
|
# -*- mode: python -*-
|
||||||
|
|
||||||
|
print('hello, world')
|
||||||
@@ -1,4 +1,8 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# vim: ft=python
|
||||||
|
# -*- mode: python -*-
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
Reference in New Issue
Block a user