Fix Makefile to produce an app bundle under macOS
This commit is contained in:
parent
f8334cb999
commit
ff8f38f080
@ -58,6 +58,8 @@ fluid$(EXEEXT): $(OBJECTS) $(LIBNAME) $(FLLIBNAME) \
|
||||
$(IMGLIBNAME)
|
||||
echo Linking $@...
|
||||
$(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
|
||||
$(OSX_ONLY) $(RM) -r -f fluid.app/Contents/MacOS
|
||||
$(OSX_ONLY) mkdir fluid.app/Contents/MacOS
|
||||
$(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS
|
||||
|
||||
fluid-shared$(EXEEXT): $(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \
|
||||
|
Loading…
Reference in New Issue
Block a user