mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Fix C example name
This commit is contained in:
parent
c8a60c780c
commit
eb80057e11
@ -1,4 +1,4 @@
|
|||||||
all: hello_world_c
|
all: hello_triangle_c
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-I.
|
CFLAGS=-I.
|
||||||
@ -9,6 +9,6 @@ LINK_ARGS=-L ./../target/debug -lwgpu_native
|
|||||||
%.o: %.c $(DEPS)
|
%.o: %.c $(DEPS)
|
||||||
$(CC) $(LINK_ARGS) -c -o $(OUTDIR)/$@ $< $(CFLAGS)
|
$(CC) $(LINK_ARGS) -c -o $(OUTDIR)/$@ $< $(CFLAGS)
|
||||||
|
|
||||||
hello_world_c: hello_triangle_c/main.c
|
hello_triangle_c: hello_triangle_c/main.c
|
||||||
mkdir -p $(OUTDIR)
|
mkdir -p $(OUTDIR)
|
||||||
$(CC) $(LINK_ARGS) -o $(OUTDIR)/$@ $^ $(CFLAGS)
|
$(CC) $(LINK_ARGS) -o $(OUTDIR)/$@ $^ $(CFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user