Fix C example name

This commit is contained in:
Joshua Groves committed 2018-09-28 00:35:41 -06:00
1 parent c8a60c780c
commit eb80057e11
1 file changed
+2 -2
+2 -2
View File
@@ -1,4 +1,4 @@
all: hello_world_c
all: hello_triangle_c
CC=gcc
CFLAGS=-I.
@@ -9,6 +9,6 @@ LINK_ARGS=-L ./../target/debug -lwgpu_native
%.o: %.c $(DEPS)
$(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)
$(CC) $(LINK_ARGS) -o $(OUTDIR)/$@ $^ $(CFLAGS)