diff options
| author | Benjamin Linskey | 2026-05-30 03:31:16 -0400 |
|---|---|---|
| committer | Benjamin Linskey | 2026-05-30 03:31:16 -0400 |
| commit | a07297bc8f6d44a6a652b52e5326a42e19f65eb8 (patch) | |
| tree | 2447bf86898e9d7125d3aed6be859846ca9dc009 | |
| parent | a97766fef817dff42e927ac19374841a2493c1c7 (diff) | |
| download | rogue-a07297bc8f6d44a6a652b52e5326a42e19f65eb8.tar.gz | |
Tweak makefile for macOS
| -rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,10 +2,13 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= rogue -CPPFLAGS+=-DUNIX +CPPFLAGS+=-DUNIX -DUNIX_SYSV SRCS= hit.c init.c inventory.c level.c machdep.c main.c \ message.c monster.c move.c object.c pack.c play.c random.c ring.c \ room.c save.c score.c spec_hit.c throw.c trap.c use.c zap.c +OBJS= hit.o init.o inventory.o level.o machdep.o main.o \ + message.o monster.o move.o object.o pack.o play.o random.o ring.o \ + room.o save.o score.o spec_hit.o throw.o trap.o use.o zap.o DPADD= ${LIBCURSES} ${LIBTERMINFO} LDADD= -lcurses -lterminfo HIDEGAME=hidegame @@ -16,5 +19,5 @@ SUBDIR.roff+=USD.doc COPTS.score.c+= ${CC_WNO_FORMAT_TRUNCATION} -.include <bsd.prog.mk> -.include <bsd.subdir.mk> +$(PROG): $(OBJS) + cc -o $@ -lcurses $(OBJS) |