summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2453f96a802f60231e093a91d576698db4c28586 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC = gcc

SRC = main.o events.o manage.o list.o bar.o

LIBS = -lX11

LDFLAGS = -L/usr/X11R6/lib
CFLAGS = -g -Wall -I/usr/X11R6/include 

DEBUG = -DDEBUG

ratpoison: $(SRC)
	gcc $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS) 

%.o : %.c ratpoison.h conf.h
	$(CC) -c $(CFLAGS) $(DEBUG) $< -o $@

clean :
	rm -f *.o ratpoison