Masayoshi Sekimura 10 years ago
parent
commit
2a7b588794
1 changed files with 10 additions and 10 deletions
  1. 10
    10
      INSTALL.Discount

+ 10
- 10
INSTALL.Discount View File

@@ -4,7 +4,7 @@ by David Parsons.
4 4
     http://www.pell.portland.or.us/~orc/Code/markdown/
5 5
 
6 6
 The "Makefile", at least in version 1.3.1, doesn't includes a way to create
7
-a shared library so that I'd like to keep how I did it.
7
+a shared library so that I'd like to keep a note how I did it.
8 8
 
9 9
 Linux
10 10
 -----
@@ -12,14 +12,14 @@ Linux
12 12
 
13 13
 1. put '-fPIC' into CC options and make the first line as below:
14 14
 
15
-CC=cc -fPIC -I. -L.    
15
+CC=cc -fPIC -I. -L.
16 16
 
17 17
 2. add a line to create libmarkdown.so into MKDLIB block
18 18
 
19
-$(MKDLIB): $(OBJS)                                                              
20
-    $(AR) crv $(MKDLIB) $(OBJS)                                                 
21
-    $(RANLIB) $(MKDLIB)                                                         
22
-    $(CC) -shared -o libmarkdown.so $(OBJS)  
19
+$(MKDLIB): $(OBJS)
20
+    $(AR) crv $(MKDLIB) $(OBJS)
21
+    $(RANLIB) $(MKDLIB)
22
+    $(CC) -shared -o libmarkdown.so $(OBJS)
23 23
 
24 24
 
25 25
 Mac OS X
@@ -28,10 +28,10 @@ Mac OS X
28 28
 
29 29
 1. add a line to create libmarkdown.dynlib into MKDLIB block
30 30
 
31
-$(MKDLIB): $(OBJS)                                                              
32
-    $(AR) crv $(MKDLIB) $(OBJS)                                                 
33
-    $(RANLIB) $(MKDLIB)                                                         
34
-    $(CC) -dynaliclib -o libmarkdown.dynlib $(OBJS)  
31
+$(MKDLIB): $(OBJS)
32
+    $(AR) crv $(MKDLIB) $(OBJS)
33
+    $(RANLIB) $(MKDLIB)
34
+    $(CC) -dynaliclib -o libmarkdown.dynlib $(OBJS)
35 35
 
36 36
 
37 37
 Note