mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
26 lines
635 B
Plaintext
26 lines
635 B
Plaintext
|
*** Makefile Sat May 9 23:23:46 1992
|
||
|
--- /home/andy/tmp/wrk/Makefile Wed Jul 2 06:04:37 1997
|
||
|
***************
|
||
|
*** 1,8 ****
|
||
|
! CCOPT= -O3
|
||
|
OBJECTS= sok.o readscreen.o showscreen.o play.o save.o score.o
|
||
|
|
||
|
sokoban: $(OBJECTS)
|
||
|
! cc $(CCOPT) -static -o sokoban $(OBJECTS) -lcurses -ltermcap
|
||
|
sok.o: sok.c sokoban.h
|
||
|
cc $(CCOPT) -c sok.c
|
||
|
|
||
|
--- 1,12 ----
|
||
|
! CCOPT= ${CFLAGS}
|
||
|
! .ifdef PREFIX
|
||
|
! CCOPT+= -DPREFIX=\"${PREFIX}\"
|
||
|
! .endif
|
||
|
!
|
||
|
OBJECTS= sok.o readscreen.o showscreen.o play.o save.o score.o
|
||
|
|
||
|
sokoban: $(OBJECTS)
|
||
|
! cc $(CCOPT) -o sokoban $(OBJECTS) -lcurses -ltermcap
|
||
|
sok.o: sok.c sokoban.h
|
||
|
cc $(CCOPT) -c sok.c
|
||
|
|