lock

Fork of xl, the simplest screen locker
git clone git://git.laack.co/lock.git
Log | Files | Refs | README | LICENSE

Makefile (490B)


      1 # uncomment next line if you need shadow passwd support
      2 #NEEDSHADOW= -DNEED_SHADOW
      3 
      4 X11HOME = /usr/X11R6
      5 
      6 CC	= gcc
      7 CFLAGS	= -O2 -Wall -I${X11HOME}/include ${NEEDSHADOW}
      8 LIBS	= -L${X11HOME}/lib -lX11
      9 
     10 # Uncomment for systems with libcrypt
     11 LIBS   += -lcrypt
     12 
     13 # uncomment if you are running under solaris
     14 #LIBS   += -lnsl -lsocket
     15 
     16 OBJS = main.o
     17 
     18 all:	xl
     19 
     20 xl: $(OBJS)
     21 	$(CC) $(CFLAGS) -o xl $(OBJS) $(LIBS)
     22 
     23 install: xl
     24 	cp xl /usr/local/bin
     25 
     26 clean:
     27 	rm -f $(OBJS)
     28 
     29 realclean: clean
     30 	rm -f xl