Skip to content

Commit

Permalink
0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lavacano committed Aug 14, 2014
1 parent 87b6729 commit 47f43be
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CC=gcc
CFLAGS="-Wall"

debug:clean
$(CC) $(CFLAGS) -g -o hello main.c
stable:clean
$(CC) $(CFLAGS) -o hello main.c
clean:
rm -vfr *~ hello
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Hello World C


gcc -o hello main.c
Just type make stable!

./hello
12 changes: 4 additions & 8 deletions main.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/* Hello World program */

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
printf("\n");
printf("Hello World");
printf("\n");
return 0;
int main(int argc, char **argv) {
printf("Hello World!");
return 0;
}

0 comments on commit 47f43be

Please sign in to comment.