diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/win32/Makefile | 4 | ||||
-rw-r--r-- | uisimulator/x11/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index 68e50223d0..5ad6130020 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile | |||
@@ -23,6 +23,8 @@ PLAYDIR = $(APPDIR)/player | |||
23 | 23 | ||
24 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 24 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
25 | MACHINEDIR = $(RECDIR) | 25 | MACHINEDIR = $(RECDIR) |
26 | # not very nice to set RTC like this, but... | ||
27 | RTC += -DHAVE_RTC | ||
26 | else | 28 | else |
27 | MACHINEDIR = $(PLAYDIR) | 29 | MACHINEDIR = $(PLAYDIR) |
28 | endif | 30 | endif |
@@ -46,7 +48,7 @@ LANGUAGE = english | |||
46 | TARGET = $(OBJDIR)/uisw32.exe | 48 | TARGET = $(OBJDIR)/uisw32.exe |
47 | 49 | ||
48 | DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ | 50 | DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ |
49 | $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" | 51 | $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) $(RTC) |
50 | 52 | ||
51 | LDFLAGS = -lgdi32 -luser32 -mwindows | 53 | LDFLAGS = -lgdi32 -luser32 -mwindows |
52 | 54 | ||
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 66c900050f..d4df5ef637 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile | |||
@@ -23,6 +23,8 @@ PLAYDIR = $(APPDIR)/player | |||
23 | 23 | ||
24 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 24 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
25 | MACHINEDIR = $(RECDIR) | 25 | MACHINEDIR = $(RECDIR) |
26 | # not very nice to set RTC like this, but... | ||
27 | RTC += -DHAVE_RTC | ||
26 | else | 28 | else |
27 | MACHINEDIR = $(PLAYDIR) | 29 | MACHINEDIR = $(PLAYDIR) |
28 | endif | 30 | endif |
@@ -45,7 +47,7 @@ TARGET = $(OBJDIR)/rockboxui | |||
45 | LANGUAGE = english | 47 | LANGUAGE = english |
46 | 48 | ||
47 | DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ | 49 | DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ |
48 | $(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES) | 50 | $(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES) $(RTC) |
49 | 51 | ||
50 | LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl | 52 | LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl |
51 | 53 | ||