blob: bb4dc1b7b96dd081758e729785879ed72cb403f1 (
plain) (
tree)
|
|
.POSIX:
VERSTR=0.7
CFLAGS=-D _POSIX_C_SOURCE=200809L -D _XOPEN_SOURCE=700 -D SHIMMY_VERSION=\"$(VERSTR)\"
hostname: hostname.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
clean:
-rm hostname
install: hostname
cp hostname $(DESTDIR)/usr/bin/hostname
cp hostname.1 $(DESTDIR)/usr/share/man/man1/hostname.1
|