Move tons of stuff into oldstuff/
This commit is contained in:
29
oldstuff/lcthw-remnants-2/Makefile
Normal file
29
oldstuff/lcthw-remnants-2/Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
Reference in New Issue
Block a user