wmsun: Rename executable from wmSun to wmsun.
This commit is contained in:
parent
e46ebfcb20
commit
0db93a85e0
|
@ -16,26 +16,26 @@ LIBS = -lXpm -lX11 -lXext -lm
|
||||||
#
|
#
|
||||||
# LIBS = -lXpm -lX11 -lXext -lsocket
|
# LIBS = -lXpm -lX11 -lXext -lsocket
|
||||||
|
|
||||||
OBJS = wmSun.o SunRise.o wmgeneral/wmgeneral.o
|
OBJS = wmsun.o SunRise.o wmgeneral/wmgeneral.o
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
|
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
|
||||||
|
|
||||||
all: wmSun.o wmSun
|
all: wmsun.o wmsun
|
||||||
|
|
||||||
wmSun.o: wmSun_master.xpm wmSun_mask.xbm
|
wmsun.o: wmSun_master.xpm wmSun_mask.xbm
|
||||||
|
|
||||||
wmSun: $(OBJS)
|
wmsun: $(OBJS)
|
||||||
$(CC) $(LDFLAGS) -o wmSun $^ $(LIBS)
|
$(CC) $(LDFLAGS) -o wmsun $^ $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for i in $(OBJS) ; do \
|
for i in $(OBJS) ; do \
|
||||||
rm -f $$i; \
|
rm -f $$i; \
|
||||||
done
|
done
|
||||||
rm -f wmSun
|
rm -f wmsun
|
||||||
|
|
||||||
install:: wmSun
|
install:: wmsun
|
||||||
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||||
$(INSTALL) wmSun $(DESTDIR)$(BINDIR)
|
$(INSTALL) wmsun $(DESTDIR)$(BINDIR)
|
||||||
$(INSTALL) -d $(DESTDIR)$(MANDIR)
|
$(INSTALL) -d $(DESTDIR)$(MANDIR)
|
||||||
$(INSTALL) -m 644 wmSun.1 $(DESTDIR)$(MANDIR)
|
$(INSTALL) -m 644 wmsun.1 $(DESTDIR)$(MANDIR)
|
||||||
|
|
|
@ -368,7 +368,7 @@ void ParseCMDLine(int argc, char *argv[]) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
printf("\nwmSun version: %s\n", WMSUN_VERSION);
|
printf("\nwmSun version: %s\n", WMSUN_VERSION);
|
||||||
printf("\nusage: wmSun [-display <Display>] [-lat <Latitude>] [-lon <Longitude>] [-h]\n\n");
|
printf("\nusage: wmsun [-display <Display>] [-lat <Latitude>] [-lon <Longitude>] [-h]\n\n");
|
||||||
printf("\t-display <Display>\tUse alternate X display.\n");
|
printf("\t-display <Display>\tUse alternate X display.\n");
|
||||||
printf("\t-geometry <Geometry>\tSet window geometry.\n");
|
printf("\t-geometry <Geometry>\tSet window geometry.\n");
|
||||||
printf("\t-lat <Latitude>\t\tObservers Latitude. Positive to the west.\n");
|
printf("\t-lat <Latitude>\t\tObservers Latitude. Positive to the west.\n");
|
Loading…
Reference in a new issue