1#
2# Auto-generated sample makefile
3#
4# This makefile is intended for use with GNU make.
5# Set the paths to the tools (CC, AR, LD, etc.)
6#
7
8vpath %.c host_src
9
10CC = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
11AS = C:\Program Files\GNUARM\bin\arm-elf-as.exe
12LD = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
13AR = C:\Program Files\GNUARM\bin\arm-elf-ar.exe
14
15%.o: %.c
16	$(CC) -c -O2 -o $@ -I host_src -D UNIFIED_DEBUG_MESSAGES -D EAS_WT_SYNTH -D _IMELODY_PARSER -D _RTTTL_PARSER -D _OTA_PARSER -D _XMF_PARSER -D _WAVE_PARSER -D _REVERB_ENABLED -D _CHORUS_ENABLED -D MMAPI_SUPPORT -D JET_INTERFACE $<
17
18%.o: %.s
19	$(AS) -o $@ -EL -mcpu=arm946e-s -mfpu=softfpa -I lib_src --defsym CHECK_STACK=0 --defsym REVERB=0 --defsym CHORUS=0 --defsym STEREO_OUTPUT=1 --defsym SAMPLE_RATE_22050=1 --defsym SAMPLES_8_BIT=1 --defsym FILTER_ENABLED=1 $<
20
21OBJS = eas_main.o eas_report.o eas_wave.o eas_hostmm.o eas_config.o
22
23arm-wt-22k: $(OBJS)
24	$(LD) -o $@ $(OBJS) libarm-wt-22k.a -lm
25
26