Much cleanup to better match lesson text
This commit is contained in:
parent
a135c338ea
commit
c8ac7ac727
1
lcthw/ex1/.gitignore → lcthw/.gitignore
vendored
1
lcthw/ex1/.gitignore → lcthw/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
ex1
|
ex1
|
||||||
|
ex3
|
@ -1,9 +1,10 @@
|
|||||||
CFLAGS ?= -Wall -g
|
CFLAGS ?= -Wall -g
|
||||||
|
|
||||||
all: ex1
|
all: ex1 ex3
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ex1
|
rm -f ex1 ex3
|
||||||
|
|
||||||
test:
|
test:
|
||||||
./ex1
|
./ex1
|
||||||
|
./ex3
|
1
lcthw/ex2/.gitignore
vendored
1
lcthw/ex2/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
ex1
|
|
@ -1,12 +0,0 @@
|
|||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
/* This is a comment. */
|
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
int distance = 100;
|
|
||||||
|
|
||||||
// this is also a comment
|
|
||||||
printf("You are %d miles away.\n", distance);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
1
lcthw/ex3/.gitignore
vendored
1
lcthw/ex3/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
ex3
|
|
Loading…
Reference in New Issue
Block a user