Mail Archives: djgpp/1994/12/01/22:41:35
THis is my first attempt at writting a MAKEFILE.
I can compile my program with:
gcc -o bspgcc -Wall -O2 -m486 bsp.c funcs.c makenode.c picknode.c
\gcc\lib\libm.a
coff2exe bspgcc
del bspgcc.
But my MAKEFILE doesn't work right. Can you help me?
bspgcc: bsp.o funcs.o makenode.o picknode.o
cc -o bspgcc bsp.o funcs.o makenode.o picknod.o
bsp.o: bsp.c structs.h bsp.h
cc -c bsp.c
funcs.o: funcs.c structs.h bsp.h
cc -c funcs.c
makenode.o: makenode.c structs.h bsp.h
cc -c makenode.c
picknode.o: picknode.c structs.h bsp.h
cc -c picknode.c
clean:
rm bsp.o funcs.o makenode.o picknode.o
BTW, I had a problem with a couple of my GCC problems and I tracked it
down to EMU387. So I downloaded WMEMU112.ZIP, and everything works properly.
Is this file okay to use and distribute?
Mark Mathews mark DOT mathews AT channel1 DOT com
mmathews AT genesis DOT nred DOT ma DOT us
DOOM, DOOM II, and ALIENS. The best!!!
That's it, man. Game over man, it's GAME OVER!
- Hudson from the movie ALIENS
- Raw text -