You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
446 B

SHELL = /bin/bash
CFLAGS = -Wall -g -DNDEBUG -fPIC
LDLIBS = -ldl
EXERCISES := $(shell ./list-exercises)
all: $(EXERCISES)
ex19: object.o
ex22_main: ex22.o
clean:
shopt -s nullglob ; \
$(RM) $(EXERCISES) *.o *.a
test:
@./runtests
exercises:
@echo $(EXERCISES)
.PHONY: docker-image
docker-image:
docker build -t meatballhat/lcthw:latest .
.PHONY: docker-run
docker-run:
docker run -it -v $(PWD):/app meatballhat/lcthw:latest bash -l