Date: Mon, 21 Sep 1992 14:35:43 +22313801 (EDT From: Joey Gibson Subject: help with macro definition To: DJGPP Mailing List In a makefile, I have the following macros: LATEX="tex &lplain" DVIPS="dvips test" Later on, I am trying to compile a file, including these macros as macros in the code: all : test.c cc -DBOB=$(LATEX) -DFRED=$(DVIPS) test.c -o test.o What happens is that the macros only get the first word of the definition, i.e. FRED is dfined as "dvips" and BOB is defined as "tex". I have tried every conceivable way of quoting these definitions, but can't get it right. Could someone please tell me the proper way to quote macro definitions so that the C program gets the full definition? Joey Gibson => "In the country of the blind, the one-eyed man is king." H.G. Wells <= ===> The views expressed here are not necessarily those of EMA. <==