mirror of
https://github.com/rafagafe/tiny-json.git
synced 2025-03-12 11:25:29 +00:00
Workaround makefile
This commit is contained in:
parent
a087bcabb5
commit
03ca43a55f
19
makefile
19
makefile
@ -1,3 +1,5 @@
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -std=c99 -Wall -pedantic
|
||||
|
||||
build: example-01.exe example-02.exe example-03.exe
|
||||
@ -21,19 +23,4 @@ example-03.exe: example-03.o tiny-json.o
|
||||
gcc $(CFLAGS) -o $@ $^
|
||||
|
||||
test.exe: tests.o tiny-json.o
|
||||
gcc $(CFLAGS) -o $@ $^
|
||||
|
||||
tiny-json.o: tiny-json.c tiny-json.h
|
||||
gcc $(CFLAGS) -c tiny-json.c
|
||||
|
||||
example-01.o: example-01.c tiny-json.h
|
||||
gcc $(CFLAGS) -c example-01.c
|
||||
|
||||
example-02.o: example-02.c tiny-json.h
|
||||
gcc $(CFLAGS) -c example-02.c
|
||||
|
||||
example-03.o: example-03.c tiny-json.h
|
||||
gcc $(CFLAGS) -c example-03.c
|
||||
|
||||
tests.o: tests.c tiny-json.h
|
||||
gcc $(CFLAGS) -c tests.c
|
||||
gcc $(CFLAGS) -o $@ $^
|
||||
|
Loading…
Reference in New Issue
Block a user