Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: liweinan/recipies
base: 423bfaac0c
...
head fork: liweinan/recipies
compare: b17e2c8f9a
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 7 files changed
  • 0 commit comments
  • 1 contributor
View
6 make/vars/Makefile
@@ -0,0 +1,6 @@
+default: pre pre2 pre2
+ @echo $+
+ @echo $<
+ @echo $^
+ @echo $@
+ @echo $?
View
0  make/vars/pre
No changes.
View
0  make/vars/pre2
No changes.
View
9 make/vpath/Makefile
@@ -0,0 +1,9 @@
+vpath %.c src
+vpath %.h include
+
+main: hello.c main.c hello.h
+ gcc -I include $^ -o $@
+
+.PHONY: clean
+clean:
+ rm -rf main
View
5 make/vpath/include/hello.h
@@ -0,0 +1,5 @@
+#ifndef _HELLO_H_
+#define _HELLO_H_
+
+extern void say_hello();
+#endif
View
5 make/vpath/src/hello.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+say_hello() {
+ printf("Hello, world!");
+}
View
6 make/vpath/src/main.c
@@ -0,0 +1,6 @@
+#include <hello.h>
+
+int main() {
+ say_hello();
+ return 0;
+}

No commit comments for this range

Something went wrong with that request. Please try again.