1 |
#/************************************************************************** |
#/************************************************************************** |
2 |
# * |
# * |
3 |
# * djgpp makefile |
# * DJGPP/MinGW makefile |
4 |
# * |
# * |
5 |
# * treat "deltree /y" with care |
# * treat "deltree /y" with care |
6 |
# * |
# * |
7 |
|
# * |
8 |
|
# * $Id: Makefile.dj,v 1.2.2.2 2002-12-14 08:14:37 suxen_drol Exp $ |
9 |
|
# * |
10 |
# *************************************************************************/ |
# *************************************************************************/ |
11 |
|
|
12 |
|
|
14 |
|
|
15 |
|
|
16 |
CC = gcc |
CC = gcc |
17 |
CFLAGS = -Wall -DARCH_X86 -DBFRAMES |
CFLAGS = -Wall -DARCH_X86 |
18 |
|
|
19 |
# CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer |
# CFLAGS += -funroll-loops -ffast-math -fstrict-aliasing -fomit-frame-pointer |
20 |
# CFLAGS += -fPIC |
# CFLAGS += -fPIC |
21 |
# CFLAGS += -m486 |
|
22 |
|
# Architecture options : Valid for every gcc version |
23 |
|
# Uncomment the one which you want to compile for |
24 |
|
|
25 |
|
# CFLAGS += -march=i386 -mcpu=i386 |
26 |
|
# CFLAGS += -march=i486 -mcpu=i486 |
27 |
|
# CFLAGS += -march=i586 -mcpu=i586 |
28 |
|
# CFLAGS += -march=i686 -mcpu=i686 |
29 |
# CFLAGS += -march=pentium -mcpu=pentium |
# CFLAGS += -march=pentium -mcpu=pentium |
30 |
# CFLAGS += -march=pentiumpro -mcpu=pentiumpro |
# CFLAGS += -march=pentiumpro -mcpu=pentiumpro |
31 |
|
|
32 |
|
# Architecture options : Valid for every gcc >= 3.1 |
33 |
|
# Uncomment the one which you want to compile for |
34 |
|
|
35 |
|
# CFLAGS += -march=pentium-mmx -mcpu=pentium-mmx |
36 |
|
# CFLAGS += -march=pentium3 -mcpu=pentium3 |
37 |
|
# CFLAGS += -march=pentium4 -mcpu=pentium4 |
38 |
|
# CFLAGS += -march=athlon -mcpu=athlon |
39 |
|
# CFLAGS += -march=k6 -mcpu=k6 |
40 |
|
# CFLAGS += -march=k6-2 -mcpu=k6-2 |
41 |
|
# CFLAGS += -march=k6-3 -mcpu=k6-3 |
42 |
|
# CFLAGS += -march=athlon-tbird -mcpu=athlon-tbird |
43 |
|
# CFLAGS += -march=athlon-xp -mcpu=athlon-xp |
44 |
|
# CFLAGS += -march=athlon-mp -mcpu=athlon-mp |
45 |
|
|
46 |
|
|
47 |
AS = nasm |
AS = nasm |
48 |
AFLAGS = -f coff -DPREFIX -DFORMAT_COFF |
AFLAGS = -f coff -DPREFIX -DFORMAT_COFF |