aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c3db02a..f3fe06e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include config.mk
SRC = mocicon.c
OBJ = ${SRC:.c=.o}
-all: options mocicon
+all: options mocicon moc_x11
options:
@echo mocicon build options:
@@ -20,6 +20,9 @@ options:
${OBJ}: config.mk
+moc_x11: moc_x11.c moc_library.c
+ @echo ${CC} -Wall moc_x11.c moc_library.c -lpthread -lX11 -o moc_x11
+ @${CC} -Wall moc_x11.c moc_library.c -lpthread -lX11 -o moc_x11
mocicon: ${OBJ}
@echo CC -o $@
@@ -27,7 +30,7 @@ mocicon: ${OBJ}
clean:
@echo cleaning
- @rm -f mocicon ${OBJ} mocicon-${VERSION}.tar.gz
+ @rm -f mocicon moc_x11 ${OBJ} mocicon-${VERSION}.tar.gz
dist: clean
@echo creating dist tarball