Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / libraries / preferences / config.mk
blob87af79e27a21144376ee9ae108ba32944404f207
1 # $Date: 2012-08-10 13:47:28 +0200 (Fr, 10. Aug 2012) $
2 # $Revision: 915 $
4 ifndef TOPLEVEL
5 TOPLEVEL=$(shell pwd)/../..
6 endif
8 ###############################################################################
10 include $(TOPLEVEL)/config.mk
11 include $(TOPLEVEL)/rules.mk
13 ###############################################################################
14 # Check compiler
16 ifeq ($(MACHINE), ppc-morphos)
18 ###############################################################################
19 # MorphOS
21 LFLAGS += -nostartfiles \
22 -lmempools \
23 # --verbose
26 else
27 ifeq ($(MACHINE), ppc-amigaos)
29 ###############################################################################
30 # AmigaOS4
32 LFLAGS += -nostartfiles \
33 # --verbose
35 else
37 ifeq ($(MACHINE), i386-aros)
39 ###############################################################################
40 # i386-aros
42 LFLAGS += -nostartfiles -larossupport
44 else
46 ###############################################################################
47 # AmigaOS
49 LFLAGS += -liconobject -lstack -lnix -lnixmain -lamiga -lstubs
51 endif
52 endif
53 endif