summaryrefslogtreecommitdiff
path: root/games/crafty/files/patch-aa
blob: 19d8eefb687814f33c0212a1db02f0c6acfba3b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
*** Makefile.orig	Fri May 22 17:52:39 1998
--- Makefile	Mon Jun  1 00:37:27 1998
***************
*** 68,80 ****
  #           -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B
  # asm     = X86.o
  
! # FreeBSD (gcc 2.6.3)
! #target  = FreeBSD
  #CC      = gcc
  #CFLAGS  = -fomit-frame-pointer -m486 -O3 -Wall
  #LDFLAGS = 
! #opt     = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
! #          -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
  
  # FreeBSD (pgcc)
  #target  = FreeBSD
--- 68,80 ----
  #           -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B
  # asm     = X86.o
  
! # FreeBSD (gcc 2.7.2.1)
! target  = FreeBSD
  #CC      = gcc
  #CFLAGS  = -fomit-frame-pointer -m486 -O3 -Wall
  #LDFLAGS = 
! opt     = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
!           -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
  
  # FreeBSD (pgcc)
  #target  = FreeBSD
***************
*** 94,111 ****
   
  # LINUX
  # Note: You have to uncomment exactly ONE of the `asm' lines below.
! target  = LINUX
! CC      = gcc
! CFLAGS  = -pipe -D_REENTRANT -mpentiumpro -O -Wall
! LDFLAGS = -lpthread
! opt     = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
!           -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
  
  # Uncomment the FIRST `asm' line for a.out systems.
  # Uncomment the SECOND `asm' line for ELF systems.
  #
! #asm     = X86-aout.o
! asm     = X86-elf.o
  
  # NEXT
  #target  = NEXT
--- 94,111 ----
   
  # LINUX
  # Note: You have to uncomment exactly ONE of the `asm' lines below.
! #target  = LINUX
! #CC      = gcc
! #CFLAGS  = -pipe -D_REENTRANT -mpentiumpro -O -Wall
! #LDFLAGS = -lpthread
! #opt     = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
! #          -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
  
  # Uncomment the FIRST `asm' line for a.out systems.
  # Uncomment the SECOND `asm' line for ELF systems.
  #
! asm     = X86-aout.o
! #asm     = X86-elf.o
  
  # NEXT
  #target  = NEXT