dockapps/wmload/Makefile
Doug Torrance b0b77c699d wmload: Replace deprecated Imakefile with Makefile.
Update INSTALL to reflect changes.
2015-04-07 08:54:07 +01:00

19 lines
341 B
Makefile

OBJS = wmload.o
LIBS = -lX11 -lXpm -lXext -lm
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
INSTALL = install
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
wmload: $(OBJS)
$(CC) $(LDFLAGS) -o wmload $(OBJS) $(LIBS)
clean:
rm -f $(OBJS) wmload
install: wmload
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) wmload $(DESTDIR)$(BINDIR)