CExperiments/XorList/Makefile
Andrea Bontempi 10a9c34328 Init
2021-10-21 15:04:33 +02:00

15 lines
191 B
Makefile

CC=gcc
CFLAGS=-I. -g
DEPS = base_list.h list.h
OBJ = main.o base_list.o list.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
list: $(OBJ)
gcc -o $@ $^ $(CFLAGS)
clean:
rm *.o
rm list