Xref: utzoo comp.os.msdos.apps:808 comp.os.msdos.misc:874 comp.os.msdos.programmer:2565 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!mintaka!ogicse!pdxgate!eecs!berggren From: berggren@eecs.cs.pdx.edu (Eric Berggren) Newsgroups: comp.os.msdos.apps,comp.os.msdos.misc,comp.os.msdos.programmer Subject: Re: TURBOC make with command lines > 127 chars - HOW? Message-ID: <997@pdxgate.UUCP> Date: 28 Dec 90 08:50:44 GMT References: <15782.27753f1b@levels.sait.edu.au> Sender: news@pdxgate.UUCP Lines: 42 marwk@levels.sait.edu.au writes: >I have a makefile which has: >OBJS = a.obj b.obj c.obj \ > (several more files here ...) \ > x.obj y.obj z.obj >$(EFILE): $(OBJS) > tcc -c -m$(MM) $(OBJS) >The tcc line gets converted to: > tcc -emain.exe -ms a.obj b.obj ... >x.obj y.obj z.obj >and the message >Fatal: Cammand arguments too long >appears. >In the reference manual Appendix D it states that the command line cannot >be longer than 127 characters a DOS limitation. >How can I produce the desired exe file using make with this limitation? I have always been constrained to doing the damn files one-by-one in the makefile. I have seen methods such as: .c.obj: $(CC) $(CFLAGS) *.c; test.obj: test.c test.h etc... but I have never been able to get it to work. If you get any good information to be able to set it up the "traditional way" please lemme know. Thanx. ============================================================================== "Round and round the while() loop goes; Whether it stops," Turing says, "nobody knows."