diff options
author | Matthew Strapp <msattr@gmail.com> | 2020-09-15 13:16:09 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2020-09-15 13:16:09 -0500 |
commit | ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a (patch) | |
tree | 35ae7abc6f9dcf44416511a1d4812263f34fab2d /csci4061/091420_breakout/Makefile | |
parent | add gitignore (diff) | |
download | homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.gz homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.bz2 homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.lz homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.xz homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.zst homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.zip |
add first breakout
Diffstat (limited to '')
-rw-r--r-- | csci4061/091420_breakout/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 |