Skip to content

Commit 5577d4e

Browse files
author
Manuel Wudka-Robles
committed
Stub program with Makefile
0 parents  commit 5577d4e

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.o
2+
get_process_handles

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
CC = gcc
2+
3+
all: get_process_handles
4+
5+
clean:
6+
rm -rf *.o get_process_handles
7+
8+
get_process_handles: main.o
9+
$(CC) main.o -o get_process_handles
10+
11+
.o:
12+
$(CC) $< -o $@

main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int main(int argc, char **argv) {
2+
return 0;
3+
}

0 commit comments

Comments
 (0)