Makefile 211 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC		= gcc

CFLAGS		= -g -Wall -pedantic

LDFLAGS		= -g

OUT		= sh

OBJS		= sh.o list.o

main: $(OBJS)
	$(CC) $(LDFLAGS) $(OBJS) -o $(OUT)

clean:
	rm -f *.o sh core out
16
17
18

test: main
	python3 shell-test.py $(OUT)