From 54f67c2042bd7c8c3d12811d03e97831e1d5750f Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Wed, 22 Feb 2017 00:14:45 -0500 Subject: [PATCH] wmcalendar: Properly link against libraries. --- wmcalendar/Src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmcalendar/Src/Makefile b/wmcalendar/Src/Makefile index b05ca8e..c096415 100755 --- a/wmcalendar/Src/Makefile +++ b/wmcalendar/Src/Makefile @@ -13,7 +13,7 @@ LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib PACKAGE = wmCalendar # for Linux -LIBS = $(LIBDIR) -lXpm -lical -lpthread +LIBS = $(LIBDIR) -lXpm -lX11 -lXext -lical -lpthread -lm # for Solaris (untested!!!) # LIBS = -lXpm -lX11 -lXext -lsocket -lnsl -lical @@ -30,7 +30,7 @@ OBJECTS = wmCalendar.o \ all: wmCalendar.o wmCalendar wmCalendar: $(OBJECTS) - $(CC) $(COPTS) $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS) + $(CC) $(COPTS) $(SYSTEM) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS) $(LFLAGS) wmCalendar.o: wmCalendar_master.xpm wmCalendar_master2.xpm clean: