Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-24sp
project05
Commits
a1731bac
Commit
a1731bac
authored
1 year ago
by
Maxwell F. (Max) Chen
Browse files
Options
Download
Email Patches
Plain Diff
autocommit
parent
2a5dba70
master
No related merge requests found
Pipeline
#103967
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+4
-4
Makefile
with
4 additions
and
4 deletions
+4
-4
Makefile
View file @
a1731bac
...
@@ -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
$@
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help