10 VERSIONHI = @VERSIONHI@
11 VERSIONLO = @VERSIONLO@
25 exec_prefix = @exec_prefix@
29 includedir = @includedir@
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
35 docdir = @datadir@/doc/sdcc
37 # Modules to enable/disable
38 OPT_ENABLE_UCSIM = @OPT_ENABLE_UCSIM@
39 OPT_ENABLE_DEVICE_LIB_BUILD = @OPT_ENABLE_DEVICE_LIB_BUILD@
40 OPT_ENABLE_PACKIHX = @OPT_ENABLE_PACKIHX@
42 SLIB = $(PRJDIR)/support/Util
44 transform = @program_transform_name@
48 DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
49 CPPFLAGS = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
50 CFLAGS = @CFLAGS@ -Wall
55 # Shared settings between all the sub Makefiles
56 # Done here so that we don't have to start a Make from the top levelport
59 # Library compilation options
60 SCC = $(PRJDIR)/src/sdcc
61 SAS = $(PRJDIR)/as/$(PORT)/as
62 CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
64 OBJ = $(SOURCES:.c=.o)