Skip to content

Instantly share code, notes, and snippets.

@skyend
Last active December 11, 2015 07:49
Show Gist options
  • Save skyend/4569380 to your computer and use it in GitHub Desktop.
Save skyend/4569380 to your computer and use it in GitHub Desktop.
C++ 단일 컴파일 펄스크립트
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
for(@ARGV) {
/$(\w+)\.cpp^/;
say "confile $_ to $1";
`g++ -o $1 $_`
and
say "success comfile: $1";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment