aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a41a618..d60ceb7 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ ifneq ($(strip $(MAKE_NCURSES)),)
TARGETS += gol
endif
ifneq ($(strip $(MAKE_X11)),)
-TARGETS += xidle
+TARGETS += xidle xdiff
endif
@@ -49,6 +49,13 @@ xidle: xidle.o
@echo 'Finished building target: $@'
@echo ' '
+xdiff: xdiff.o
+ @echo 'Building target: $@'
+ @echo 'Invoking: GCC C Linker'
+ $(CC) $(LDFLAGS) -o "$@" "$<" -lX11 -lXext -lXss
+ @echo 'Finished building target: $@'
+ @echo ' '
+
strip:
strip -s $(TARGETS)