From ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Tue, 15 Sep 2020 13:16:09 -0500 Subject: add first breakout --- csci4061/091420_breakout/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 csci4061/091420_breakout/Makefile (limited to 'csci4061/091420_breakout/Makefile') diff --git a/csci4061/091420_breakout/Makefile b/csci4061/091420_breakout/Makefile new file mode 100644 index 0000000..1e807a9 --- /dev/null +++ b/csci4061/091420_breakout/Makefile @@ -0,0 +1,16 @@ +CC=gcc +CFLAGS=-I./include +OBJ=main.o name.o address.o major.o +EXE=w2.out + +all: $(EXE) + +$(EXE): $(OBJ) + $(CC) -o $@ $^ $(CFLAGS) + +%.o: %.c + $(CC) -c -o $@ $< $(CFLAGS) +clean: + rm *.o $(EXE) +run: + ./$(EXE) \ No newline at end of file -- cgit v1.2.3