mirror of
https://github.com/rafagafe/tiny-json.git
synced 2025-03-12 19:25:30 +00:00
Set C99 compile flag
This commit is contained in:
parent
35a79f7d67
commit
4333bf4489
14
makefile
14
makefile
@ -12,22 +12,22 @@ test: test.exe
|
|||||||
./test.exe
|
./test.exe
|
||||||
|
|
||||||
example-01.exe: example-01.o tiny-json.o
|
example-01.exe: example-01.o tiny-json.o
|
||||||
gcc -Wall -o example-01.exe example-01.o tiny-json.o
|
gcc -std=c99 -Wall -o example-01.exe example-01.o tiny-json.o
|
||||||
|
|
||||||
example-02.exe: example-02.o tiny-json.o
|
example-02.exe: example-02.o tiny-json.o
|
||||||
gcc -Wall -o example-02.exe example-02.o tiny-json.o
|
gcc -std=c99 -Wall -o example-02.exe example-02.o tiny-json.o
|
||||||
|
|
||||||
test.exe: tests.o tiny-json.o
|
test.exe: tests.o tiny-json.o
|
||||||
gcc -Wall -o test.exe tests.o tiny-json.o
|
gcc -std=c99 -Wall -o test.exe tests.o tiny-json.o
|
||||||
|
|
||||||
tiny-json.o: tiny-json.c tiny-json.h
|
tiny-json.o: tiny-json.c tiny-json.h
|
||||||
gcc -Wall -c tiny-json.c
|
gcc -std=c99 -Wall -c tiny-json.c
|
||||||
|
|
||||||
example-01.o: example-01.c tiny-json.h
|
example-01.o: example-01.c tiny-json.h
|
||||||
gcc -Wall -c example-01.c
|
gcc -std=c99 -Wall -c example-01.c
|
||||||
|
|
||||||
example-02.o: example-02.c tiny-json.h
|
example-02.o: example-02.c tiny-json.h
|
||||||
gcc -Wall -c example-02.c
|
gcc -std=c99 -Wall -c example-02.c
|
||||||
|
|
||||||
tests.o: tests.c tiny-json.h
|
tests.o: tests.c tiny-json.h
|
||||||
gcc -Wall -c tests.c
|
gcc -std=c99 -Wall -c tests.c
|
||||||
|
Loading…
Reference in New Issue
Block a user