diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-05 07:37:17 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-05 07:37:17 +0100 |
commit | a54b49f5a8858ae6603d0db56019adc3ce0dff90 (patch) | |
tree | 40894af980f74648a43d5c322e4501b3a400c4cd /src/Makefile.am | |
parent | 29d54a4b19caf94b2efd2bd537e8c24f70e9520b (diff) | |
download | sciteco-a54b49f5a8858ae6603d0db56019adc3ce0dff90.tar.gz |
windows compatibility changes
* respect executable extensions
* do not use weak symbols which appear to be broken on MinGW.
Instead, the generated symbol constants contain constructor functions
initializing the corresponding objects. Constructor priorities are used
to ensure that the initialization takes place after the dummy (NULL)
initialization.
* do not change the working dir (causes trouble when sciteco gets passed
relative paths but the exe is not in the current dir)
instead look for teco.ini in program's directory
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 81cf526..ff1f095 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,8 +12,8 @@ EXTRA_DIST = gtk-info-popup.gob \ if BOOTSTRAP noinst_PROGRAMS = sciteco-minimal -BOOTSTRAP_SCITECO = ./sciteco-minimal -symbols-scintilla.cpp symbols-scilexer.cpp : sciteco-minimal +BOOTSTRAP_SCITECO = ./sciteco-minimal$(EXEEXT) +symbols-scintilla.cpp symbols-scilexer.cpp : $(BOOTSTRAP_SCITECO) else BOOTSTRAP_SCITECO = @SCITECO@ endif |