Much cleanup to better match lesson text

This commit is contained in:
Dan Buch 2024-04-15 15:28:45 -04:00
parent a135c338ea
commit c8ac7ac727
Signed by: meatballhat
GPG Key ID: A12F782281063434
7 changed files with 4 additions and 16 deletions

View File

@ -1 +1,2 @@
ex1
ex3

View File

@ -1,9 +1,10 @@
CFLAGS ?= -Wall -g
all: ex1
all: ex1 ex3
clean:
rm -f ex1
rm -f ex1 ex3
test:
./ex1
./ex3

View File

@ -1 +0,0 @@
ex1

View File

@ -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;
}

View File

@ -1 +0,0 @@
ex3