Skip to content
Snippets Groups Projects
Commit d08d8cb2 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Some makefile cleanups

parent ce3ae7ac
Branches
Tags
No related merge requests found
.PHONY: all
all: all:
cd c ; make cd c ; make
cd csharp ; make cd csharp ; make
cd java ; make cd java ; make
.PHONY: test
test: test:
$(MAKE) -C c test $(MAKE) -C c test
.PHONY: clean
clean: clean:
cd c ; make clean $(MAKE) -C c clean
cd csharp ; make clean $(MAKE) -C csharp clean
cd java ; make clean $(MAKE) -C java clean
$(MAKE) -C python clean $(MAKE) -C python clean
.PHONY: distclean
distclean: distclean:
cd c ; make distclean $(MAKE) -C c distclean
cd csharp ; make clean $(MAKE) -C csharp distclean
cd java ; make clean $(MAKE) -C java distclean
$(MAKE) -C python clean $(MAKE) -C python distclean
...@@ -16,4 +16,6 @@ labcomm.dll: $(MODULES:%=se/lth/control/labcomm/%.cs) Makefile ...@@ -16,4 +16,6 @@ labcomm.dll: $(MODULES:%=se/lth/control/labcomm/%.cs) Makefile
mcs -out:$@ -target:library $(filter %.cs, $^) mcs -out:$@ -target:library $(filter %.cs, $^)
clean: clean:
distclean:
rm -f labcomm.dll rm -f labcomm.dll
...@@ -36,6 +36,9 @@ gen/JAVAC: $(MODULES:%=se/lth/control/labcomm/%.java) $(MODULES:%=se/lth/control ...@@ -36,6 +36,9 @@ gen/JAVAC: $(MODULES:%=se/lth/control/labcomm/%.java) $(MODULES:%=se/lth/control
.PHONY: clean .PHONY: clean
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: clean:
find . -name '*.pyc' -exec rm {} \; find . -name '*.pyc' -exec rm {} \;
distclean: .PHONY: distclean
find . -name '*.pyc' -exec rm {} \; distclean: clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment