summaryrefslogtreecommitdiff
path: root/ext/dl/eg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/eg/Makefile')
-rw-r--r--ext/dl/eg/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/dl/eg/Makefile b/ext/dl/eg/Makefile
new file mode 100644
index 0000000000..d1ae210730
--- /dev/null
+++ b/ext/dl/eg/Makefile
@@ -0,0 +1,20 @@
+CC = /vol/apps/lucid-3.1/lcc
+
+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
+ ld -o test -assert pure-text test.o
+
+test1.o: test1.c
+ $(CC) -g -pic -c test1.c
+
+test1: test1.o
+ ld -o test1 -assert pure-text test1.o
+
+clean:
+ /bin/rm -f *.o test test1 main