Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libcurses / EXAMPLES / Makefile
blob67368a972403f22909da3470f3d7569d2df2969f
1 #$Id: Makefile,v 1.2 2007/05/28 15:01:58 blymn Exp $
2 #$Log: Makefile,v $
3 #Revision 1.1.2.2 2007/01/31 10:08:47 blymn
4 #Fix up build errors.
6 #Revision 1.1.2.1 2007/01/21 12:05:54 blymn
7 #Merge wide curses.
9 #Revision 1.1 2007/01/21 11:38:59 blymn
10 #Wide curses merge
12 #Revision 1.1 2005/08/31 14:52:08 ruibiao
14 #A patach for the current source
16 #Revision 1.2 2005/08/23 21:29:08 ruibiao
18 #Changed to the right libraries
20 #Revision 1.1 2005/08/23 16:38:22 ruibiao
22 #Initial version, to build all versions of file views and the unit tester
25 RM = /bin/rm -f
26 CFLAGS =
28 .if defined(DEBUG)
29 CFLAGS+= -g
30 .endif
32 all: wcview nwview ccview tcview ncview ex1
34 wcview: view.c
35 gcc -DHAVE_WCHAR -o wcview view.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..
37 nwview: view.c
38 gcc -DHAVE_WCHAR -o nwview view.c -DNCURSES -I/usr/pkg/include $(CFLAGS) -lcurses -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib
40 ccview: view.c
41 gcc -o ccview view.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..
43 tcview: view.c
44 gcc -o tcview view.c -L/usr/lib -Wl,-rpath,/usr/lib $(CFLAGS) -lcurses
46 ncview: view.c
47 gcc -o ncview view.c -I/usr/pkg/include -DNCURSES -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib $(CFLAGS) -lncurses
49 ex1: ex1.c
50 gcc -DHAVE_WCHAR -o ex1 ex1.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..