wmcalendar: Properly link against libraries.
This commit is contained in:
parent
55fc4cb920
commit
54f67c2042
|
@ -13,7 +13,7 @@ LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib
|
||||||
PACKAGE = wmCalendar
|
PACKAGE = wmCalendar
|
||||||
|
|
||||||
# for Linux
|
# for Linux
|
||||||
LIBS = $(LIBDIR) -lXpm -lical -lpthread
|
LIBS = $(LIBDIR) -lXpm -lX11 -lXext -lical -lpthread -lm
|
||||||
# for Solaris (untested!!!)
|
# for Solaris (untested!!!)
|
||||||
# LIBS = -lXpm -lX11 -lXext -lsocket -lnsl -lical
|
# LIBS = -lXpm -lX11 -lXext -lsocket -lnsl -lical
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ OBJECTS = wmCalendar.o \
|
||||||
all: wmCalendar.o wmCalendar
|
all: wmCalendar.o wmCalendar
|
||||||
|
|
||||||
wmCalendar: $(OBJECTS)
|
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
|
wmCalendar.o: wmCalendar_master.xpm wmCalendar_master2.xpm
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue