/[hyperestraier]/upstream/0.5.2/example/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /upstream/0.5.2/example/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/0.5.1/example/Makefile revision 2 by dpavlin, Fri Jul 29 21:56:53 2005 UTC upstream/0.5.2/example/Makefile revision 9 by dpavlin, Wed Aug 3 15:21:15 2005 UTC
# Line 1  Line 1 
1  # Makefile for sample programs Hyper Estraier  # Makefile for sample programs of Hyper Estraier
2    
3    
4    
# Line 11  Line 11 
11  SHELL = /bin/sh  SHELL = /bin/sh
12    
13  # Targets  # Targets
14  MYBINS = example001 example002  MYBINS = coreexample001 coreexample002 nodeexample001 nodeexample002
15    
16  # Building binaries  # Building binaries
17  CC = gcc  CC = gcc
18  CPPFLAGS = -I. -I.. -I$(HOME)/include -I/usr/local/include  CFLAGS = -I. -I.. `../estconfig --cflags`
19  CFLAGS = -Wall -ansi -pedantic -g -O2  LDFLAGS = `../estconfig --ldflags`
20  LDFLAGS = -L. -L.. -L$(HOME)/lib -L/usr/local/lib  LIBS = -L. -L.. `../estconfig --libs`
 LIBS = -lestraier -lqdbm -lz -liconv -lm -lc  
21  LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:.:..  LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:.:..
22    
23    
# Line 32  LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME Line 31  LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME
31  .SUFFIXES : .c .o  .SUFFIXES : .c .o
32    
33  .c.o :  .c.o :
34          $(CC) -c $(CPPFLAGS) $(CFLAGS) $<          $(CC) -c $(CFLAGS) $<
35    
36    
37    
# Line 57  clean : Line 56  clean :
56  #================================================================  #================================================================
57    
58    
59  example001 : example001.o  coreexample001 : coreexample001.o
60          $(LDENV) $(CC) $(CFLAGS) -o $@ example001.o $(LDFLAGS) $(LIBS)          $(LDENV) $(CC) $(CFLAGS) -o $@ coreexample001.o $(LDFLAGS) $(LIBS)
61    
62    
63  example002 : example002.o  coreexample002 : coreexample002.o
64          $(LDENV) $(CC) $(CFLAGS) -o $@ example002.o $(LDFLAGS) $(LIBS)          $(LDENV) $(CC) $(CFLAGS) -o $@ coreexample002.o $(LDFLAGS) $(LIBS)
65    
66    
67    nodeexample001 : nodeexample001.o
68            $(LDENV) $(CC) $(CFLAGS) -o $@ nodeexample001.o $(LDFLAGS) $(LIBS)
69    
70    
71    nodeexample002 : nodeexample002.o
72            $(LDENV) $(CC) $(CFLAGS) -o $@ nodeexample002.o $(LDFLAGS) $(LIBS)
73    
74    
75    

Legend:
Removed from v.2  
changed lines
  Added in v.9

  ViewVC Help
Powered by ViewVC 1.1.26