From 0bb1bc26b724648205a010e94ed1f07ad441f7c8 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Tue, 1 Dec 2009 23:02:55 +0100 Subject: [PATCH] Fix some small problems with the Makefile/Source --- src/Makefile | 4 ++-- src/main.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 9072ca0..e8a5023 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,9 +3,9 @@ CC=gcc CFLAGS=-Wall -Os -std=c99 all: main.c - $(CC) $(CFLAGS) -o game src/main.c + $(CC) $(CFLAGS) -o game main.c -run +run: ./game clean: game.o diff --git a/src/main.c b/src/main.c index b13490f..d6ca01e 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,6 @@ +#include + int main(int argc, char **argv) { printf("Bald kommt der Nikolaus\n"); return 0;