SBDP01/Makefile
2018-10-21 13:04:41 +02:00

20 lines
330 B
Makefile

CC=gcc
CFLAGS=-Wall -O0 -g
LDFLAGS=-lm
all: appender reader generator sorter
appender: appender.o tape.o record.o common.o
reader: reader.o tape.o record.o common.o
generator: generator.o
sorter: sorter.o tape.o record.o heap.o common.o
-include $(wildcard *.d)
.c.o:
$(CC) $(CFLAGS) -MMD -c $< -o $@
clean:
rm *.o
rm *.d