Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Savetheinternet
committed
Nov 5, 2011
0 parents
commit 5dd57ae
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CFLAGS = -Wall -std=c99 | ||
|
||
SRCS = h.c | ||
OBJS = $(SRCS:.c=.o) | ||
BIN = h | ||
|
||
|
||
all: $(BIN) | ||
|
||
$(BIN): $(OBJS) | ||
$(CC) -o $(BIN) $(OBJS) | ||
|
||
clean: | ||
$(RM) $(BIN) $(OBJS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## About | ||
H is a small program which, upon execution, prints the lowercase letter `h` (ASCII character 104). | ||
|
||
## Usage | ||
`make` | ||
`./h` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include <stdio.h> | ||
|
||
int | ||
main(int argc, char *argv[]) | ||
{ | ||
printf("h\n"); | ||
} | ||
|