dish/Makefile

23 lines
246 B
Makefile
Raw Normal View History

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
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