Remove building with NOCRYPTO option
[minix.git] / lib / libcurses / EXAMPLES / Makefile
blobb3759fdc51450d73ad8bc4bd14a0691b1405e1a6
1 #$Id: Makefile,v 1.2 2007/05/28 15:01:58 blymn Exp $
2 #$Log: Makefile,v $
3 #Revision 1.2 2007/05/28 15:01:58 blymn
4 #Merge in wide curses code done as a Summer of Code project by
5 #Ruibiao Qiu.
7 #Revision 1.1.2.2 2007/01/31 10:08:47 blymn
8 #Fix up build errors.
10 #Revision 1.1.2.1 2007/01/21 12:05:54 blymn
11 #Merge wide curses.
13 #Revision 1.1 2007/01/21 11:38:59 blymn
14 #Wide curses merge
16 #Revision 1.1 2005/08/31 14:52:08 ruibiao
18 #A patach for the current source
20 #Revision 1.2 2005/08/23 21:29:08 ruibiao
22 #Changed to the right libraries
24 #Revision 1.1 2005/08/23 16:38:22 ruibiao
26 #Initial version, to build all versions of file views and the unit tester
29 RM = /bin/rm -f
30 CFLAGS =
32 .if defined(DEBUG)
33 CFLAGS+= -g
34 .endif
36 all: wcview nwview ccview tcview ncview ex1
38 wcview: view.c
39 gcc -DHAVE_WCHAR -o wcview view.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..
41 nwview: view.c
42 gcc -DHAVE_WCHAR -o nwview view.c -DNCURSES -I/usr/pkg/include $(CFLAGS) -lcurses -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib
44 ccview: view.c
45 gcc -o ccview view.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..
47 tcview: view.c
48 gcc -o tcview view.c -L/usr/lib -Wl,-rpath,/usr/lib $(CFLAGS) -lcurses
50 ncview: view.c
51 gcc -o ncview view.c -I/usr/pkg/include -DNCURSES -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib $(CFLAGS) -lncurses
53 ex1: ex1.c
54 gcc -DHAVE_WCHAR -o ex1 ex1.c -I.. $(CFLAGS) -lcurses -Wl,-rpath,.. -L..