File tree 5 files changed +51
-0
lines changed
5 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 10
10
* .html diff text ident
11
11
.project diff text ident
12
12
.classpath diff text ident
13
+ Makefile diff text ident
14
+ * .mk diff text ident
Original file line number Diff line number Diff line change 1
1
# !/usr/bin/env make -f
2
2
#
3
+ # $Id$
4
+ #
3
5
# vim:ft=make:
4
6
#
5
7
Original file line number Diff line number Diff line change 1
1
# !/usr/bin/env make -f
2
2
#
3
+ # $Id$
4
+ #
3
5
# vim:ft=make:
4
6
#
5
7
Original file line number Diff line number Diff line change
1
+ # !/usr/bin/env make -f
2
+ #
3
+ # $Id$
4
+ #
5
+ # vim:ft=make:
6
+ #
7
+
8
+ ifndef GLOBALS_HOME
9
+ $(error GLOBALS_HOME is undefined)
10
+ endif # GLOBALS_HOME
11
+
12
+ CFLAGS = -Wall -Wextra -g
13
+ CPPFLAGS = -I${GLOBALS_HOME}/dev/cpp/include
14
+
15
+ .PHONY : all
16
+ all : 770936 770936-dlopen
17
+
18
+ lib770936-callout.so : 770936-callout.o
19
+ $(CC ) -dynamiclib -o $@ $<
20
+
21
+ 770936 : 770936.o lib770936-callout.so
22
+ $(CC ) -L. -l770936-callout -o $@ $<
23
+
24
+ 770936-dlopen : 770936-dlopen.o
25
+ $(CC ) -o $@ $<
26
+
27
+ .PHONY : clean
28
+ clean :
29
+ $(RM ) * .o * .so 770936 770936-dlopen
Original file line number Diff line number Diff line change
1
+ #
2
+ # $Id$
3
+ #
4
+ # vim:ft=make:
5
+ #
6
+
7
+ ifndef GLOBALS_HOME
8
+ $(error GLOBALS_HOME is undefined)
9
+ endif # GLOBALS_HOME
10
+
11
+ .PHONY : all
12
+ all :
13
+
14
+ .PHONY : clean
15
+ clean :
16
+ $(RM ) * .dll * .exe
You can’t perform that action at this time.
0 commit comments