2022-09-18 05:14:30 +00:00
|
|
|
OBJ=main.o line.o loop.o exec.o
|
2022-09-18 03:15:07 +00:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS= -O3 -Wall
|
|
|
|
|
2022-09-18 05:43:33 +00:00
|
|
|
all:release
|
|
|
|
r:release
|
2022-09-18 04:22:59 +00:00
|
|
|
release:dish
|
2022-09-18 03:15:07 +00:00
|
|
|
|
|
|
|
dish: $(OBJ)
|
|
|
|
$(CC) $(CFLAGS) -o dish $(OBJ)
|
|
|
|
|
2022-09-18 05:43:33 +00:00
|
|
|
d:
|
|
|
|
make clean
|
|
|
|
make debug
|
|
|
|
|
2022-09-18 03:15:07 +00:00
|
|
|
debug: CFLAGS += -DDEBUG -g
|
|
|
|
debug: dish
|
|
|
|
|
2022-09-18 05:43:33 +00:00
|
|
|
c: clean
|
2022-09-18 03:15:07 +00:00
|
|
|
clean:
|
|
|
|
rm -f $(OBJ) dish
|
|
|
|
|