summaryrefslogtreecommitdiff
path: root/ext/dl/eg/Makefile.att
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/eg/Makefile.att')
-rw-r--r--ext/dl/eg/Makefile.att18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/dl/eg/Makefile.att b/ext/dl/eg/Makefile.att
new file mode 100644
index 0000000000..435b916f67
--- /dev/null
+++ b/ext/dl/eg/Makefile.att
@@ -0,0 +1,18 @@
+all: main test test1
+main: main.c
+ cc -g -o main main.c -ldl
+
+test.o: test.c
+ cc -g -pic -c test.c
+
+test: test.o
+ cc -o test -G test.o
+
+test1.o: test1.c
+ cc -g -pic -c test1.c
+
+test1: test1.o
+ cc -o test1 -G test1.o
+
+clean:
+ /bin/rm -f *.o test test1 main