ananas

xdm greeter Makefile

Dec 22nd, 2012
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CC = gcc
  2.  
  3. CFLAGS += -O2 -pipe -Wall -fPIC -I/usr/xorg/include $(shell pkg-config --cflags gtk+-2.0)
  4. LIBS += -shared $(shell pkg-config --libs gtk+-2.0)
  5.  
  6. all: libGtkGreeter.so
  7.  
  8. libGtkGreeter.so: greet.c greet.h
  9.     $(CC) -o $@ $(CFLAGS) $(LIBS) $^
RAW Paste Data