aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@fastmailteam.com>2022-07-27 22:29:37 -0400
committerCalvin Morrison <calvin@fastmailteam.com>2022-07-27 22:29:37 -0400
commit3b0d441725c2ec8da4e3218ceb1236b2cb2d7bcd (patch)
tree16835f29c89e9bb14be42cd2d8efaa7c0c4c11a3
parented51c35c9fc4c45c42f75c02323ffc1d8afa63b5 (diff)
add moc_x11 to makefile
-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