From 2c6899c7535ac77415bdf89c207592e453eb8dd3 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 18 Dec 2016 02:05:13 +0100 Subject: [PATCH] compile easy files --- compile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 compile diff --git a/compile b/compile new file mode 100644 index 0000000..5b50f1a --- /dev/null +++ b/compile @@ -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"