Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
knguyenngo committed Apr 18, 2024
0 parents commit 164c8d6
Show file tree
Hide file tree
Showing 7 changed files with 1,511 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
CC=gcc
CFLAGS= -c -g -Wall $(INCLUDES)

OBJECT_FILES= csapp.o shellex.o

all: sh257

sh257: $(OBJECT_FILES)
$(CC) -pthread $(OBJECT_FILES) -o $@

csapp.o: csapp.c csapp.h
$(CC) $(CFLAGS) $< -o $@

shellex.o: shellex.c csapp.h
$(CC) $(CFLAGS) $< -o $@

clean:
rm -v sh257 $(OBJECT_FILES)
Loading

0 comments on commit 164c8d6

Please sign in to comment.