Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 467 Bytes
CC = gcc
OPTS = -fPIC -Wall -g
INC = \
-I. \
-I/usr/X11R6/include \
-I/usr/include/glib-2.0 \
-I/usr/include/ruby-2.3.0 \
-I/usr/include/x86_64-linux-gnu/ruby-2.3.0 \
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include
LIB = \
-L/usr/lib \
-L/usr/X11R6/lib \
-lSM -lICE -lX11 -lXmu -lglib-2.0 \
-lruby-2.3 -lpthread -ldl -lcrypt -lm -lc
all:
$(CC) $(OPTS) $(INC) -c wmlib.c
$(CC) $(OPTS) -shared -o wmlib.so wmlib.o $(LIB)
clean:
rm -f *.o *.so