Commit a1731bac authored by Maxwell F. (Max) Chen's avatar Maxwell F. (Max) Chen
Browse files

autocommit

parent 2a5dba70
No related merge requests found
Pipeline #103967 failed with stage
in 0 seconds
Showing with 4 additions and 4 deletions
+4 -4
...@@ -101,10 +101,10 @@ server: ...@@ -101,10 +101,10 @@ server:
# and $@ means "the target file", so the command tells clang # and $@ means "the target file", so the command tells clang
# to compile the source C file into the target .o file. # to compile the source C file into the target .o file.
out/%.o: library/%.c # source file may be found in "library" out/%.o: library/%.c # source file may be found in "library"
# @git commit -am "Autocommit of library for ${USER}" > /dev/null || true @git commit -am "Autocommit of library for ${USER}" > /dev/null || true
$(CC) -c $(CFLAGS) $^ -o $@ $(CC) -c $(CFLAGS) $^ -o $@
out/%.o: demo/%.c # or "demo" out/%.o: demo/%.c # or "demo"
# @git commit -am "Autocommit of demo for ${USER}" > /dev/null || true @git commit -am "Autocommit of demo for ${USER}" > /dev/null || true
$(CC) -c $(CFLAGS) $^ -o $@ $(CC) -c $(CFLAGS) $^ -o $@
out/%.o: tests/%.c # or "tests" out/%.o: tests/%.c # or "tests"
$(CC) -c $(CFLAGS) $^ -o $@ $(CC) -c $(CFLAGS) $^ -o $@
...@@ -112,10 +112,10 @@ out/%.o: tests/%.c # or "tests" ...@@ -112,10 +112,10 @@ out/%.o: tests/%.c # or "tests"
# Emscripten compilation flags # Emscripten compilation flags
# This is very similar to the above compilation, except for emscripten # This is very similar to the above compilation, except for emscripten
out/%.wasm.o: library/%.c # source file may be found in "library" out/%.wasm.o: library/%.c # source file may be found in "library"
# @git commit -am "Autocommit of library for ${USER}" > /dev/null || true @git commit -am "Autocommit of library for ${USER}" > /dev/null || true
$(EMCC) -c $(CFLAGS) $^ -o $@ $(EMCC) -c $(CFLAGS) $^ -o $@
out/%.wasm.o: demo/%.c # or "demo" out/%.wasm.o: demo/%.c # or "demo"
# @git commit -am "Autocommit of demo or game for ${USER}" > /dev/null || true @git commit -am "Autocommit of demo or game for ${USER}" > /dev/null || true
$(EMCC) -c $(CFLAGS) $^ -o $@ $(EMCC) -c $(CFLAGS) $^ -o $@
out/%.wasm.o: tests/%.c # or "tests" out/%.wasm.o: tests/%.c # or "tests"
$(EMCC) -c $(CFLAGS) $^ -o $@ $(EMCC) -c $(CFLAGS) $^ -o $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment