diff options
| author | Benedict <benedict@0xb8000.de> | 2016-08-04 21:08:41 +0200 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:25 +0100 |
| commit | 7060b54d2385018fc5f7c081dfd0630db3b402e2 (patch) | |
| tree | c2450217294a2cad61e475f71eeac11fa4387210 /Makefile | |
| parent | 4e0e29f48f797206a21aa5ba7855ffde72e85cf9 (diff) | |
updated Makefile structure
Copy Makefile just in all setX directories and it should all work fine. Get
rid of the nasty "adding each target seperatly".
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..68cf09c --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# call all makefiles in sudirs +DIRS = set1 set2 set3 + +compile: + @for i in $(DIRS); do \ + echo "Compiling $$i:"; \ + make -s -C $$i ;\ + done + +clean: + @for i in $(DIRS); do \ + echo "Cleaning $$i:"; \ + make -s -C $$i clean;\ + done |
