1
0
Fork 0
lesson-lisp/Makefile

19 lines
210 B
Makefile
Raw Normal View History

2023-05-03 14:42:26 -04:00
all: lisp
CC = gcc
CFLAGS = -Wall -Wextra
2023-05-03 18:05:11 -04:00
OBJS = enums.c.o main.c.o tokens.c.o
run: lisp
./lisp
clean:
rm -f lisp $(OBJS)
2023-05-03 14:42:26 -04:00
lisp: $(OBJS)
$(CC) -o $@ $^ $(CFLAGS)
%.c.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)