Fix some small problems with the Makefile/Source
This commit is contained in:
parent
c050d08186
commit
0bb1bc26b7
2 changed files with 4 additions and 2 deletions
|
@ -3,9 +3,9 @@ CC=gcc
|
||||||
CFLAGS=-Wall -Os -std=c99
|
CFLAGS=-Wall -Os -std=c99
|
||||||
|
|
||||||
all: main.c
|
all: main.c
|
||||||
$(CC) $(CFLAGS) -o game src/main.c
|
$(CC) $(CFLAGS) -o game main.c
|
||||||
|
|
||||||
run
|
run:
|
||||||
./game
|
./game
|
||||||
|
|
||||||
clean: game.o
|
clean: game.o
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
printf("Bald kommt der Nikolaus\n");
|
printf("Bald kommt der Nikolaus\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue