For a Makefile wizard
Hi,
I'd like to shorten the commands in one of my Makefiles. Maybe
you could tell me how.
msqldump: msqldump.o
$(CCC) -L. -o msqldump msqldump.o -lmsql
relshow: relshow.o
$(CCC) -L. -o relshow relshow.o -lmsql
msqlimport: msqlimport.o
$(CCC) -L. -o msqlimport msqlimport.o -lmsql
msqlexport: msqlexport.o
$(CCC) -L. -o msqlexport msqlexport.o -lmsql
It should be possible to reduce these lines to
msqldump relshow msqlimport msqlexport: ???.o
$(CCC) -L. -o ??? ???.o -lmsql
right? How?
Regards,
Joey
--
/ Martin Schulze * joey@infodrom.north.de * 26129 Oldenburg /
/ linux: Unbekannter Terminaltyp /
/ Ich weiß nicht, auf was für einem Terminaltyp Sie arbeiten - /
/ alles, was ich habe, ist 'linux'. -- Solaris 2.5 /
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: