aboutsummaryrefslogtreecommitdiffhomepage
path: root/libslang/doc/OLD/help/makefile.djg
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 04:55:05 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 04:55:05 +0200
commit6aa0e0017d7d0cddc006da885946934b06949a91 (patch)
tree66b688ec32e2f91266db760b1762f2a50cc52036 /libslang/doc/OLD/help/makefile.djg
parenta966db5b71328f6adf9dd767e64b322a3bd7ed9c (diff)
downloaderlang-slang-fork-6aa0e0017d7d0cddc006da885946934b06949a91.tar.gz
include libslang-1.4.9 and automatically build it and link erlang-slang against it
few (erlang) people will still have libslang-1.4.9 installed or spend time to get it to link against the driver
Diffstat (limited to 'libslang/doc/OLD/help/makefile.djg')
-rw-r--r--libslang/doc/OLD/help/makefile.djg18
1 files changed, 18 insertions, 0 deletions
diff --git a/libslang/doc/OLD/help/makefile.djg b/libslang/doc/OLD/help/makefile.djg
new file mode 100644
index 0000000..67432c5
--- /dev/null
+++ b/libslang/doc/OLD/help/makefile.djg
@@ -0,0 +1,18 @@
+CC = gcc
+CFLAGS = -Wall -O6
+GO32 = C:\djgpp\bin\go32.exe
+SLIB = ../src#
+LFLAGS = -L$(SLIB) -lslang -lpc
+
+SUFFIXES = .c
+.SUFFIXES: $(SUFFIXES)
+
+.c.o:
+ $(CC) -c $(CFLAGS) -I$(SLIB) $*.c
+
+
+slhelp: slhelp.o
+ $(CC) slhelp.o $(LFLAGS) -o slhelp.386
+ coff2exe -s $(GO32) slhelp.386
+
+