summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-08-25 05:06:20 +0000
committersabetts <sabetts>2000-08-25 05:06:20 +0000
commitd8a5963532fb35687bedee59f2235144f3930fbd (patch)
tree0fe07517902d532361e049ebe774f62c3ec23d09 /Makefile
downloadratpoison-d8a5963532fb35687bedee59f2235144f3930fbd.zip
initial checkin
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2453f96
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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