mirror of https://github.com/fltk/fltk
Fix MacOS-specific regression appeared with move to git when building test with configure.
The svn contained empty directories, e.g., test/blocks.app/Contents/MacOS/ Git apparently can't store empty directories. The test/Makefile is modified to create these directories at build-time.
This commit is contained in:
parent
d087bae685
commit
6c876189d8
|
@ -309,11 +309,15 @@ buttons$(EXEEXT): buttons.o
|
|||
blocks$(EXEEXT): blocks.o
|
||||
echo Linking $@...
|
||||
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) blocks.o -o $@ $(AUDIOLIBS) $(LINKFLTK) $(LDLIBS)
|
||||
$(OSX_ONLY) $(RM) -f -r blocks.app/Contents/MacOS
|
||||
$(OSX_ONLY) mkdir blocks.app/Contents/MacOS
|
||||
$(OSX_ONLY) $(INSTALL_BIN) blocks$(EXEEXT) blocks.app/Contents/MacOS
|
||||
|
||||
checkers$(EXEEXT): checkers.o
|
||||
echo Linking $@...
|
||||
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) checkers.o -o $@ $(LINKFLTK) $(LDLIBS)
|
||||
$(OSX_ONLY) $(RM) -f -r checkers.app/Contents/MacOS
|
||||
$(OSX_ONLY) mkdir checkers.app/Contents/MacOS
|
||||
$(OSX_ONLY) $(INSTALL_BIN) checkers$(EXEEXT) checkers.app/Contents/MacOS
|
||||
|
||||
clock$(EXEEXT): clock.o
|
||||
|
@ -464,6 +468,8 @@ subwindow$(EXEEXT): subwindow.o
|
|||
sudoku: sudoku.o
|
||||
echo Linking $@...
|
||||
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) sudoku.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
|
||||
$(OSX_ONLY) $(RM) -r -f sudoku.app/Contents/MacOS
|
||||
$(OSX_ONLY) mkdir sudoku.app/Contents/MacOS
|
||||
$(OSX_ONLY) $(INSTALL_BIN) sudoku$(EXEEXT) sudoku.app/Contents/MacOS
|
||||
|
||||
sudoku.exe: sudoku.o sudoku.rc
|
||||
|
|
Loading…
Reference in New Issue