--- Makefile.orig 2015-08-28 11:57:39 UTC +++ Makefile @@ -19,14 +19,14 @@ LIBS = -lXpm -lX11 -lXext -lm -ldockapp OBJS = wmsun.o SunRise.o .c.o: - $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(INCDIR) all: wmsun.o wmsun wmsun.o: wmSun_master.xpm wmSun_mask.xbm wmsun: $(OBJS) - $(CC) $(LDFLAGS) -o wmsun $^ $(LIBS) + $(CC) $(LDFLAGS) -o wmsun $(OBJS) $(LIBDIR) $(LIBS) clean: for i in $(OBJS) ; do \