SBDP02/Makefile
2018-12-08 21:03:55 +01:00

18 lines
264 B
Makefile

CC=gcc
CFLAGS=-Wall -O0 -g
LDFLAGS=-lm -lreadline
all: makeidx openidx
makeidx: makeidx.o io.o common.o index.o bitmap.c
openidx: openidx.o io.o common.o index.o bitmap.c
-include $(wildcard *.d)
.c.o:
$(CC) $(CFLAGS) -MMD -c $< -o $@
clean:
rm *.o
rm *.d