move single translation unit build scripts into makefile
This commit is contained in:
parent
5d82350b0b
commit
86922ce67b
3
build
3
build
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
clang -std=gnu11 -O3 -Wall -Wno-microsoft-anon-tag -Wno-unused-function -fms-extensions -no-pie $@ -o BQN src/opt/single.c -lm
|
||||
# gcc -std=gnu11 -O3 -Wall -Wno-parentheses -Wno-misleading-indentation -Wno-unused-function -fms-extensions -no-pie $@ -o BQN src/opt/single.c -lm
|
||||
3
buildg
3
buildg
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
clang -std=gnu11 -O3 -g -Wall -Wno-microsoft-anon-tag -fms-extensions -no-pie -Wno-unused-function -fno-omit-frame-pointer $@ -o BQN src/opt/single.c -lm
|
||||
# gcc -std=gnu11 -O3 -g -Wall -Wno-parentheses -Wno-misleading-indentation -Wno-unused-function -fms-extensions -no-pie -fno-omit-frame-pointer $@ -o BQN src/opt/single.c -lm
|
||||
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
clang -DDEBUG -std=gnu11 -g -Wall -Wno-microsoft-anon-tag -Wno-unused-function -fms-extensions -no-pie $@ -o BQN src/opt/single.c -lm
|
||||
# gcc -DDEBUG -std=gnu11 -g -Wall -Wno-parentheses -Wno-misleading-indentation -Wno-unused-function -fms-extensions -no-pie $@ -o BQN src/opt/single.c -lm
|
||||
9
makefile
9
makefile
@ -22,7 +22,14 @@ c: # custom
|
||||
|
||||
b: gen
|
||||
|
||||
|
||||
single-o3:
|
||||
$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions $(CCFLAGS) -no-pie -O3 -o BQN src/opt/single.c -lm
|
||||
single-o3g:
|
||||
$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions $(CCFLAGS) -no-pie -O3 -g -o BQN src/opt/single.c -lm
|
||||
single-debug:
|
||||
$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions $(CCFLAGS) -no-pie -DDEBUG -g -o BQN src/opt/single.c -lm
|
||||
single-c:
|
||||
$(CC) -std=gnu11 -Wall -Wno-unused-function -fms-extensions $(CCFLAGS) -no-pie $(f) -o BQN src/opt/single.c -lm
|
||||
|
||||
|
||||
# compiler setup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user