"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "see_bekijk-1.1/Makefile" of archive see_bekijk-1.1.tgz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 # ---------------------------------------------------------------------------
    2 # Makefile voor bekijk /see 1.1                (GPL) 1997,98  Belgie  Belgium
    3 #          for                                                Staf Wagemakers
    4 # ---------------------------------------------------------------------------
    5 
    6 all:    bekijk see
    7 
    8 bekijk: bekijk.c menu.o get_dir.o input.o ned.h win.o view.o
    9 	gcc -O2 -D_NED bekijk.c menu.o get_dir.o input.o win.o view.o -o bekijk -lncurses
   10 	strip bekijk
   11 
   12 see:	bekijk.c menu.o get_dir.o eng.h win.o view.o
   13 	gcc -O2 -D_ENG bekijk.c menu.o get_dir.o input.o win.o view.o -o see -lncurses
   14 	strip see
   15 
   16 menu.o: menu.c menu.h
   17 	gcc -O2 -c menu.c
   18 	  
   19 get_dir.o: get_dir.c get_dir.h
   20 	   gcc -O2 -c get_dir.c
   21 
   22 input.o:   input.c input.h
   23 	   gcc -O2 -c input.c
   24 win.o:     win.c win.h
   25 	   gcc -O2 -c win.c
   26 	   
   27 view.o:    view.c view.h
   28 	   gcc -O2 -c view.c
   29 	   
   30 install_bekijk: bekijk
   31 		mkdir -p /usr/local/bin
   32 		cp bekijk /usr/local/bin
   33 		mkdir -p /usr/doc/see_bekijk
   34 		cp bekijk.txt /usr/doc/see_bekijk
   35 		cp LICENSE /usr/doc/see_bekijk
   36 	
   37 install_see: see
   38 	    mkdir -p /usr/local/bin
   39 	    cp see /usr/local/bin
   40 	    mkdir -p /usr/doc/see_bekijk
   41 	    cp see.txt /usr/doc/see_bekijk
   42 	    cp LICENSE /usr/doc/see_bekijk
   43 
   44 install:    install_bekijk install_see
   45 
   46 uninstall_bekijk:  
   47 	    rm -f -i -r /usr/doc/see_bekijk
   48 	    rm -f -i /usr/local/bin/bekijk
   49 	    
   50 uninstall_see:
   51 	    rm -f -i -r /usr/doc/see_bekijk
   52 	    rm -f -i /usr/local/bin/see
   53 	    
   54 uninstall:  uninstall_bekijk uninstall_see
   55 	   
   56 clean:	
   57 	rm bekijk see *.o
   58 	
   59 backup:
   60 	cp * /dosc/staf/bekijk/
   61 	cp * ../backup_bekijk-1.1/