=================================================================== RCS file: /cvs/djgpp/djgpp/src/stub/makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -p -u -r1.2 -r1.3 --- djgpp/src/stub/makefile 1998/09/27 17:03:58 1.2 +++ /cvs/djgpp/djgpp/src/stub/makefile 2003/02/24 17:01:34 1.3 @@ -5,11 +5,10 @@ TOP = . include ../makefile.inc -# djasm.y would be killed by -Werror -Wall, so let's relax a bit: +# Many .c source files would be killed by -Werror -Wall, so let's relax a bit: XGCC = $(XLGCC) all :: native \ - $(BIN)/djasm.exe \ $(BIN)/go32-v2.exe \ $(BIN)/stubedit.exe \ $(BIN)/stubify.exe \ @@ -19,7 +18,6 @@ all :: native \ $E native :: \ - $(HOSTBIN)/djasm.exe \ $(HOSTBIN)/stubedit.exe \ $(HOSTBIN)/stubify.exe \ $(INC)/stubinfo.h \ @@ -27,19 +25,16 @@ native :: \ $(NOP) -sbrk16.ah : sbrk16.asm $(HOSTBIN)/djasm.exe +sbrk16.ah : sbrk16.asm $(HOSTBIN)/djasm.exe sbrk16.asm sbrk16.ah $(INC)/stubinfo.h : stub.asm stub.map ./stub2inc.exe ./stub2inc.exe stub.map stub.asm $(INC)/stubinfo.h -stub.h stub.map : stub.asm $(HOSTBIN)/djasm.exe +stub.h stub.map : stub.asm $(HOSTBIN)/djasm.exe stub.asm stub.h stub.map -djasm.c: djasm.y - $(CROSS_BISON) -o djasm.c djasm.y - # with a native build, gcc is *using* stubify! $(BIN)/stubify.exe : stubbify.exe $(MISC) cp $< $(BIN)/stubify.exe @@ -65,11 +60,6 @@ $(BIN)/stubedit.exe : $(C) stubedit.o $( $(EXE) -$(HOSTBIN)/djasm.exe : djasm.y - $(BISON) -o djasm-n.c djasm.y - $(GCC) djasm-n.c -o $@ - $(MISC) rm djasm-n.c - $(HOSTBIN)/stubify.exe : stubify.c stub.h $(GCC) stubify.c -o $@ @@ -80,5 +70,5 @@ $(HOSTBIN)/stubedit.exe : stubedit.c $(I $(GCC) stub2inc.c -o $@ clean :: - @-$(MISC) rm djasm.c stub.map stub.h stub2inc.exe stubbify.exe - @-$(MISC) rm $(HOSTBIN)/djasm.exe $(HOSTBIN)/stubedit.exe $(HOSTBIN)/stubify.exe + @-$(MISC) rm stub.map stub.h stub2inc.exe stubbify.exe + @-$(MISC) rm $(HOSTBIN)/stubedit.exe $(HOSTBIN)/stubify.exe