dish/Makefile

23 lines
256 B
Makefile
Raw Normal View History

2022-09-18 06:46:23 +00:00
OBJ=main.o line.o loop.o exec.o builtin.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
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