compile easy files
This commit is contained in:
parent
08e81d5ff2
commit
2c6899c753
1 changed files with 7 additions and 0 deletions
7
compile
Normal file
7
compile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#read -p "Wie heißt die datei die compiliert werden muss? : " file
|
||||||
|
|
||||||
|
gcc -Wall -g "$1".c -o $1 `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
|
||||||
|
|
||||||
|
./"$1"
|
Loading…
Reference in a new issue