Merge pull request #250 from ilmich/fix-compiler-build
prepare output directory also to build only the compiler
This commit is contained in:
commit
4bde6385b8
|
@ -38,7 +38,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
all: --prep-build-dir compiler samples check
|
all: compiler samples check
|
||||||
|
|
||||||
|
|
||||||
$(srcdir)/%.o: $(project_dir)/oscar64/%.cpp
|
$(srcdir)/%.o: $(project_dir)/oscar64/%.cpp
|
||||||
|
@ -56,7 +56,7 @@ $(srcdir)/%.d: $(project_dir)/oscar64/%.cpp
|
||||||
$(RM) $@.$$$$
|
$(RM) $@.$$$$
|
||||||
|
|
||||||
|
|
||||||
compiler: $(objects)
|
compiler: --prep-build-dir $(objects)
|
||||||
@$(MKDIR_PARENT) $(srcdir)
|
@$(MKDIR_PARENT) $(srcdir)
|
||||||
@echo "Linking compiler..."
|
@echo "Linking compiler..."
|
||||||
$(CXX) $(CPPFLAGS) $(objects) $(linklibs) -o $(project_dir)/bin/oscar64
|
$(CXX) $(CPPFLAGS) $(objects) $(linklibs) -o $(project_dir)/bin/oscar64
|
||||||
|
|
Loading…
Reference in New Issue