Section "Desktop Icons"
setOutPath $INSTDIR\bin
- CreateShortCut "$DESKTOP\AWeather.exe.lnk" "$INSTDIR\bin\aweather.exe" "" "$INSTDIR\bin\aweather.exe" 0
+ CreateShortCut "$DESKTOP\AWeather.lnk" "$INSTDIR\bin\aweather.exe" "" "$INSTDIR\bin\aweather.exe" 0
SectionEnd
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\AWeather"
CreateShortCut "$SMPROGRAMS\AWeather\Uninstall AWeather.lnk" "$INSTDIR\uninstaller.exe" "" "$INSTDIR\uninstaller.exe" 0
CreateShortCut "$SMPROGRAMS\AWeather\AWeather.lnk" "$INSTDIR\bin\aweather.exe" "" "$INSTDIR\bin\aweather.exe" 0
+ CreateShortCut "$SMPROGRAMS\AWeather\AWeather (debug).lnk" "cmd.exe" "/K aweather-dbg.exe -d 7" "$INSTDIR\bin\aweather-dbg.exe" 0
SectionEnd
section "Uninstall"
# Init and options
-AC_INIT([aweather], [0.4], [andy753421@gmail.com])
+AC_INIT([aweather], [0.4.1], [andy753421@gmail.com])
AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
# Check for required packages
PKG_CHECK_MODULES(GLIB, glib-2.0)
-PKG_CHECK_MODULES(GIS, libgis = $VERSION)
+PKG_CHECK_MODULES(GIS, libgis = 0.4)
# Define odd RSL install location
AC_CHECK_LIB(rsl, RSL_wsr88d_to_radar, RSL_LIBS="-lrsl")
wsr88ddec_LDADD = $(GLIB_LIBS) -lbz2
if WIN32
-AM_LDFLAGS += -mwindows
-aweather_SOURCES += resource.rc
-dots = ..
+dots = ..
+
+wsr88ddec_LDFLAGS = -mwindows
+
+aweather_SOURCES += resource.rc
+aweather_LDFLAGS = -mwindows
+
+bin_PROGRAMS += aweather-dbg
+aweather_dbg_SOURCES = $(aweather_SOURCES)
+aweather_dbg_CPPFLAGS = $(aweather_CPPFLAGS)
+aweather_dbg_LDADD = $(aweather_LDADD)
endif
.rc.o: ../data/aweather.ico