1 #$Id: Makefile,v 1.2 2007/05/28 15:01:58 blymn Exp $
3 #Revision 1.1.2.2 2007/01/31 10:08:47 blymn
6 #Revision 1.1.2.1 2007/01/21 12:05:54 blymn
9 #Revision 1.1 2007/01/21 11:38:59 blymn
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
32 all: wcview nwview ccview tcview ncview ex1
35 gcc
-DHAVE_WCHAR
-o wcview view.c
-I..
$(CFLAGS
) -lcurses
-Wl
,-rpath
,..
-L..
38 gcc
-DHAVE_WCHAR
-o nwview view.c
-DNCURSES
-I
/usr
/pkg
/include $(CFLAGS
) -lcurses
-Wl
,-rpath
,/usr
/pkg
/lib
-L
/usr
/pkg
/lib
41 gcc
-o ccview view.c
-I..
$(CFLAGS
) -lcurses
-Wl
,-rpath
,..
-L..
44 gcc
-o tcview view.c
-L
/usr
/lib
-Wl
,-rpath
,/usr
/lib
$(CFLAGS
) -lcurses
47 gcc
-o ncview view.c
-I
/usr
/pkg
/include -DNCURSES
-L
/usr
/pkg
/lib
-Wl
,-rpath
,/usr
/pkg
/lib
$(CFLAGS
) -lncurses
50 gcc
-DHAVE_WCHAR
-o ex1 ex1.c
-I..
$(CFLAGS
) -lcurses
-Wl
,-rpath
,..
-L..