diff options
-rw-r--r-- | uisimulator/x11/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index ce709f2a83..683dca6b82 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile | |||
@@ -192,7 +192,13 @@ $(OBJDIR)/%.o: $(PLUGINDIR)/lib/%.c | |||
192 | $(OBJDIR)/%.rock: $(APPSDIR)/plugins/%.c $(APPSDIR)/plugin.h | 192 | $(OBJDIR)/%.rock: $(APPSDIR)/plugins/%.c $(APPSDIR)/plugin.h |
193 | @echo CC $< | 193 | @echo CC $< |
194 | @$(CC) $(APPCFLAGS) -DPLUGIN -shared $< -L$(OBJDIR) -lplugin -o $@ | 194 | @$(CC) $(APPCFLAGS) -DPLUGIN -shared $< -L$(OBJDIR) -lplugin -o $@ |
195 | ifeq ($(UNAME),CYGWIN) | ||
196 | # 'x' must be kept or you'll have "Win32 error 5" | ||
197 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 | ||
198 | # #define ERROR_ACCESS_DENIED 5L | ||
199 | else | ||
195 | @chmod -x $@ | 200 | @chmod -x $@ |
201 | endif | ||
196 | 202 | ||
197 | ################## Patterns for building objects ################## | 203 | ################## Patterns for building objects ################## |
198 | $(OBJDIR)/%.o: ../x11/%.c | 204 | $(OBJDIR)/%.o: ../x11/%.c |