~learax/csci112-2021-william-culhane

957f95ba1580a1c23dc04009172c1ffe18e0d7ac — William Culhane 3 years ago 57c030f
classwork12: Add starter files
A classwork/classwork12/.gitignore => classwork/classwork12/.gitignore +1 -0
@@ 0,0 1,1 @@
/classwork12

A classwork/classwork12/Makefile => classwork/classwork12/Makefile +17 -0
@@ 0,0 1,17 @@
.PHONY: all clean

PROG = classwork12
SOURCES = $(wildcard *.c)
OBJ = $(SOURCES:%.c=%.o)

all: $(PROG)

$(PROG): ${OBJ}
	gcc -o $@ $^ -Wall

%.o: %.c
	gcc -c -o $@ -Wall $^

clean:
	rm -f $(OBJ)
	rm -f $(PROG)

A classwork/classwork12/classwork12.c => classwork/classwork12/classwork12.c +12 -0
@@ 0,0 1,12 @@
#include <stdio.h>

/*
 * William Culhane
 * Classwork 12, CSCI 112
 * Wed Jun  2 12:19:42 PM MDT 2021
 */

int main(void) {
  // TODO
  return(0);
}