From 08eca96e71d96ad1f8e9b888875ab5570f208d19 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 17 Feb 2021 14:05:02 -0500 Subject: Get all the games compiling for iOS --- dm/Makefile | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'dm/Makefile') diff --git a/dm/Makefile b/dm/Makefile index c3fa4b2b..2b77c370 100644 --- a/dm/Makefile +++ b/dm/Makefile @@ -1,17 +1,23 @@ # $NetBSD: Makefile,v 1.11 2002/09/18 03:23:00 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 -.include - -# -DLOG log games PROG= dm SRCS= dm.c utmpentry.c -MAN= dm.8 dm.conf.5 -# shouldn't be necessary; just in case. -BINGRP= games -BINMODE=2555 +MAN8= dm.8 +MAN5= dm.conf.5 + +all: $(PROG) + +$(PROG): $(SRCS) + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -DSUPPORT_UTMPX + $(STRIP) $(PROG) + +install: $(PROG) $(MAN) + $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG) + $(GINSTALL) -Dm644 $(MAN8) $(DESTDIR)/usr/share/man/man8/$(MAN8) + $(GINSTALL) -Dm644 $(MAN5) $(DESTDIR)/usr/share/man/man5/$(MAN5) -.PATH.c: ${NETBSDSRCDIR}/usr.bin/who -CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP +clean: + rm -f $(CLEANFILES) $(PROG) -.include +.PHONY: all clean install -- cgit v1.2.3-56-ge451