mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
6f6ffdc742
PR: 4007 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
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
|
|
|