forked from milkytracker/MilkyTracker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mmakefile.src
26 lines (17 loc) · 1.06 KB
/
mmakefile.src
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright © 2018, The AROS Development Team. All rights reserved.
# $Id$
include $(SRCDIR)/config/aros.cfg
MILKYTRACKER_EXEDIR := $(AROS_CONTRIB)/MultiMedia/Audio/MilkyTrackerAmiga
#MM- local-milkytracker : local-milkytracker-binary
#MM- local-milkytracker-binary : contrib-sdl contrib-libiconv
NOWARN_CXXFLAGS := $(NOWARN_SIGN_COMPARE) $(NOWARN_UNUSED_VARIABLE) $(NOWARN_MISLEADING_INDENTATION) \
$(NOWARN_UNUSED_BUT_SET_VARIABLE) $(NOWARN_STRICT_OVERFLOW) $(NOWARN_RETURN_TYPE) \
$(NOWARN_MAYBE_UNINITIALIZED) $(NOWARN_UNUSED_FUNCTION) $(NOWARN_SWITCH) \
$(NOWARN_UNKNOWN_PRAGMAS) -Wno-reorder -Wno-delete-non-virtual-dtor
##cmake doesn't accept USER_INCLUDES so we need USER_CXXFLAGS instead, in order to specify include dirs:
USER_CXXFLAGS := $(NOWARN_CXXFLAGS) -I$(AROS_CONTRIB_INCLUDES) -I$(AROS_INCLUDES)/SDL
USER_LDFLAGS := -L$(AROS_CONTRIB_LIB) -static-libstdc++ -lSDL
%build_with_cmake mmake=local-milkytracker-binary \
srcdir=$(SRCDIR)/$(CURDIR) prefix="$(MILKYTRACKER_EXEDIR)" \
extraoptions=""
%common