1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
# Note: this is just a stub Makefile, to make it easy for you to
# run configure and build pdmenu. The full-fledged Makefile is created
# by ./configure, and is called `makeinfo'. You might want to edit it.
include makeinfo
all: wmbattery
clean:
rm -f wmbattery *.o
distclean: clean
rm -f config.status config.cache config.log makeinfo config.h configure
install: all
$(INSTALL) -d $(bindir) $(man1dir) $(icondir)
$(INSTALL_PROGRAM) wmbattery $(bindir)
$(INSTALL_DATA) $(srcdir)/wmbattery.1x $(man1dir)/wmbattery.1x
$(INSTALL_DATA) $(srcdir)/*.xpm $(icondir)
uninstall:
rm -rf $(bindir)/wmbattery $(man1dir)/wmbattery.1x $(icondir)
wmbattery: wmbattery.o acpi.o sonypi.o
$(CC) $(LDFLAGS) wmbattery.o acpi.o sonypi.o -o wmbattery $(LIBS)
wmbattery.o: wmbattery.c wmbattery.h
configure: configure.ac
autoconf
config.status: configure
./configure
makeinfo: autoconf/makeinfo.in config.status
./config.status
|