Fix some small problems with the Makefile/Source

This commit is contained in:
Aaron Mueller 2009-12-01 23:02:55 +01:00
parent c050d08186
commit 0bb1bc26b7
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -1,4 +1,6 @@
#include <stdio.h>
int main(int argc, char **argv) {
printf("Bald kommt der Nikolaus\n");
return 0;