diff options
author | Steven Barth <steven@midlink.org> | 2008-04-11 19:16:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-04-11 19:16:16 +0000 |
commit | 120717c6ec1bd64dbf5606fe1edcc207aebcc560 (patch) | |
tree | ae1dc987ae2840bfd5a195689abbb6e99c90f7b6 /core | |
parent | c3755056f8e4871f96a21a17b20c5a391b7c3b30 (diff) |
* Fixing Makefiles
Diffstat (limited to 'core')
-rw-r--r-- | core/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile index 7db8ddb4a..458396357 100644 --- a/core/Makefile +++ b/core/Makefile @@ -21,8 +21,8 @@ all: compile depends: mkdir -p $(OUTDIRS) - for i in $(CPFILES); do [ -f "$$i" ] && (i=$$(echo $$i | cut -d/ -f2-); \ - mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i); done + for i in $(CPFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done compile: depends $(LUAC) $(LUAC_OPTIONS) -o dist/$(OUTFILE) $(INFILES) |