Commit d08d8cb2 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Some makefile cleanups

parent ce3ae7ac
.PHONY: all
all:
cd c ; make
cd csharp ; make
cd java ; make
.PHONY: test
test:
$(MAKE) -C c test
.PHONY: clean
clean:
cd c ; make clean
cd csharp ; make clean
cd java ; make clean
$(MAKE) -C c clean
$(MAKE) -C csharp clean
$(MAKE) -C java clean
$(MAKE) -C python clean
.PHONY: distclean
distclean:
cd c ; make distclean
cd csharp ; make clean
cd java ; make clean
$(MAKE) -C python clean
$(MAKE) -C c distclean
$(MAKE) -C csharp distclean
$(MAKE) -C java distclean
$(MAKE) -C python distclean
......@@ -16,4 +16,6 @@ labcomm.dll: $(MODULES:%=se/lth/control/labcomm/%.cs) Makefile
mcs -out:$@ -target:library $(filter %.cs, $^)
clean:
distclean:
rm -f labcomm.dll
......@@ -36,6 +36,9 @@ gen/JAVAC: $(MODULES:%=se/lth/control/labcomm/%.java) $(MODULES:%=se/lth/control
.PHONY: clean
clean:
rm -rf labcomm.jar labcomm2006.jar labcomm2014.jar gen
rm -rf gen
.PHONY: distclean
distclean:
rm -rf labcomm.jar labcomm2006.jar labcomm2014.jar
.PHONY: clean
clean:
find . -name '*.pyc' -exec rm {} \;
distclean:
find . -name '*.pyc' -exec rm {} \;
.PHONY: distclean
distclean: clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment