I would like to have an alias for the following code:-
g++ *.cc -o * `pkg-config gtkmm-3.0 --cflags --libs`;
but I want that when I enter the alias it should be followed by the file name *.cc
and then the name of the compiled program *
.
for example:
gtkmm simple.cc simple
should run
g++ simple.cc -o simple `pkg-config gtkmm-3.0 --cflags --libs`
Makefile
and runmake
... – lcd047 May 24 '15 at 16:36