Mail Archives: djgpp/2001/09/24/18:14:38
Running Windows ME on AMD Athlon 1.1GHz w/ 512 MRAM
Disk space to burn.
I've never seen this one before, maybe someone else has.
The makefile is included below.
I can compile and successfully run the associated *.c files using a nameless
commericial complier/ide.
However when I use the following makefile with DJGPP I get an bridge.exe
file that does NOTHING. And I do mean nothing, no lockup, no crash, no error
messages and no version message from the pgm
The first executable statement is a printf giving program name and version
number.
.SUFFIXES: .l .y
CC=gcc
CFLAGS= -g -O4 -fsigned-char -Wunused -Wimplicit
#CFLAGS= -g -fsigned-char -Wunused -Wimplicit
LEX = flex -Cfa
TARGET = bridge
OBJS = bridge.o cards.o single.o deal.o player.o auction.o declare.o
defend.o \
options.o claim.o y.tab.o lex.yy.o system.o newm.o table.o \
meadow.o support.o rb.o bcache.o borel.o signal.o par.o io.o eval.o \
gibson.o \
sd/hash.o sd/play.o sd/movegen.o sd/quick.o sd/killer.o \
sd/init.o sd/mem.o sd/lattice.o sd/display.o sd/wander.o sd/search.o \
sd/guess.o
LIBS = -lm
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
junk: junk.o
$(CC) $(CFLAGS) -o junk junk.o
embedded: ebridge.o
ebridge.o: bridge.c bridge.h param.h
$(CC) $(CFLAGS) -DEMBEDDED -c bridge.c -o ebridge.o
bridge.o: bridge.h param.h
cards.o: bridge.h param.h
single.o: bridge.h param.h
deal.o: bridge.h param.h bidding.h
player.o: bridge.h param.h bidding.h meadow.h gibson.h player.h
auction.o: bridge.h param.h bidding.h meadow.h gibson.h player.h
declare.o: bridge.h param.h bidding.h meadow.h gibson.h player.h
defend.o: bridge.h param.h bidding.h meadow.h gibson.h player.h
options.o: bridge.h param.h bidding.h
claim.o: bridge.h param.h
y.tab.c y.tab.h: reg.y
$(YACC) -d reg.y
y.tab.o: y.tab.c meadow.h
$(CC) $(CFLAGS) $(YYDEBUG) -c y.tab.c
lex.yy.c: reg.l y.tab.h
$(LEX) reg.l
lex.yy.o: lex.yy.c meadow.h
$(CC) $(CFLAGS) -c lex.yy.c
system.o: bridge.h param.h bidding.h meadow.h
newm.o: bidding.h meadow.h
table.o: bridge.h param.h bidding.h meadow.h
meadow.o: bridge.h param.h bidding.h meadow.h
support.o: bridge.h param.h bidding.h meadow.h
rb.o: rb.h
bcache.o: rb.h bridge.h param.h bidding.h meadow.h
borel.o: bridge.h param.h bidding.h meadow.h
signal.o: bridge.h param.h bidding.h meadow.h
par.o: bridge.h param.h bidding.h
io.o: bridge.h param.h
eval.o: bridge.h param.h bidding.h
gibson.o: sd/sd.h gibson.h param.h
sd/hash.o: sd/sd.h
sd/play.o: sd/sd.h
sd/movegen.o: sd/sd.h
sd/quick.o: sd/sd.h
sd/killer.o: sd/sd.h
sd/display.o: sd/sd.h
sd/init.o: sd/sd.h
sd/mem.o: sd/sd.h
sd/lattice.o: sd/sd.h
sd/wander.o: sd/sd.h
sd/search.o: sd/sd.h
sd/guess.o: param.h sd/sd.h
clean:
/bin/rm -f $(TARGET) y.tab.c y.tab.h lex.yy.c *.o
aclean:
/bin/rm -f $(TARGET) y.tab.c y.tab.h lex.yy.c *.o sd/*.o
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
- Raw text -