mirror of
https://github.com/samsonjs/csc360-a1-shell.git
synced 2026-03-25 08:45:52 +00:00
13 lines
295 B
Makefile
13 lines
295 B
Makefile
CFLAGS = -Wall -g
|
|
CPPFLAGS = -I$(shell ./dependency-dir)/readline/include
|
|
LDFLAGS = -L$(shell ./dependency-dir)/readline/lib
|
|
|
|
OBJS = utils.o builtins.o exec.o jobs.o main.o
|
|
|
|
all: a1
|
|
|
|
a1: $(OBJS)
|
|
$(CC) $(CFLAGS) -o a1 $(OBJS) $(LDFLAGS) -lreadline -lhistory -ltermcap
|
|
|
|
clean:
|
|
rm -rf $(OBJS) a1
|