19 |
# (Possibly a compiler bug; may occur with other gcc versions or |
# (Possibly a compiler bug; may occur with other gcc versions or |
20 |
# platforms as well. It's known to crash 'anchor'.) |
# platforms as well. It's known to crash 'anchor'.) |
21 |
|
|
22 |
CC=gcc -ansi |
PLATFORM=DARWIN |
23 |
|
|
24 |
|
#CC=gcc -ansi |
25 |
|
CC=gcc |
26 |
|
|
27 |
#CFLAGS=-O3 -fomit-frame-pointer -pedantic -Wall -DNDEBUG $(D) |
#CFLAGS=-O3 -fomit-frame-pointer -pedantic -Wall -DNDEBUG $(D) |
28 |
CFLAGS=-O3 -fomit-frame-pointer -pedantic -Wall -D__EXTENSIONS__ -DNDEBUG $(D) |
CFLAGS=-O2 -g -D$(PLATFORM) -D__EXTENSIONS__ -DNDEBUG $(D) |
29 |
#CFLAGS=-g -pedantic -Wall -D__EXTENSIONS__ -DRDBM_NDBM $(D) |
#CFLAGS=-g -pedantic -Wall -D__EXTENSIONS__ -DRDBM_NDBM $(D) |
30 |
|
|
31 |
LIBS= #-lgdbm |
LIBS= #-lgdbm |
101 |
etags $(PROGS:%=%.c) $(AUXPROGS:%=%.c) $(OBJ:%.o=%.c) $(OBJ:%.o=%.h) |
etags $(PROGS:%=%.c) $(AUXPROGS:%=%.c) $(OBJ:%.o=%.c) $(OBJ:%.o=%.h) |
102 |
|
|
103 |
make.deps: |
make.deps: |
104 |
gcc -c -MM $(OBJ:%.o=%.c) $(PROGS:%=%.c) $(AUXPROGS:%=%.c) > make.deps |
gcc -c -MM -D$(PLATFORM) $(OBJ:%.o=%.c) $(PROGS:%=%.c) $(AUXPROGS:%=%.c) > make.deps |
105 |
|
|
106 |
include make.deps |
include make.deps |