Files
ElectronixTM 5cdf8871be feat(lab2): unix lab2 done
Lab 2 is in fact the first lab in the set of ones we actually do. It's
not particularly hard, but consumed some time for me
2025-09-10 23:41:03 +03:00

18 lines
226 B
Makefile

targets = father son
all: $(targets)
father: father.o
$(CC) -o $@ $^ $(CFLAGS)
son: son.o
$(CC) -o $@ $^ $(CFLAGS)
%.o: %.c
$(CC) -c $^ -o $@ $(CFLAGS)
clean:
rm -f $(targets)
rm -f *.o
rm -f task_dump*
rm -f task*