tag:blogger.com,1999:blog-4777243148323391813.post3500343950147124068..comments2024-01-21T11:50:09.908-08:00Comments on justinhj's coding blog: Writing quick C++ programs in emacs without a makefileJustinhttp://www.blogger.com/profile/05978765743088322110noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4777243148323391813.post-72086808035291484192009-05-28T11:27:22.050-07:002009-05-28T11:27:22.050-07:00Yeah, and then wouldn't it be great if you could j...Yeah, and then wouldn't it be great if you could just use this?<br /><br /><STRONG>// -*- compile-command: (concat compile-command (file-name-nondirectory (file-name-sans-extension (buffer-file-name)))); -*-</STRONG>Nevermind, even if it worked it's way too long to be cute.ashawleyhttps://www.blogger.com/profile/05481013025424300704noreply@blogger.comtag:blogger.com,1999:blog-4777243148323391813.post-38597028924467456372009-05-27T10:37:50.767-07:002009-05-27T10:37:50.767-07:00ashawley: Did not know that, thanks!ashawley: Did not know that, thanks!Justinhttps://www.blogger.com/profile/05978765743088322110noreply@blogger.comtag:blogger.com,1999:blog-4777243148323391813.post-41848501004754440302009-05-17T13:05:00.000-07:002009-05-17T13:05:00.000-07:00if you name your file helloworld.cc and you are us...if you name your file helloworld.cc and you are using GNU make, you can have the compile-command be just: "make helloworld".ashawleyhttps://www.blogger.com/profile/05481013025424300704noreply@blogger.com