Fix C example name

This commit is contained in:
Joshua Groves 2018-09-28 00:35:41 -06:00
parent c8a60c780c
commit eb80057e11

View File

@ -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)