arm-fm-22k.mak 762 B

1234567891011121314151617181920212223242526
  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. vpath %.c host_src
  8. CC = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
  9. AS = C:\Program Files\GNUARM\bin\arm-elf-as.exe
  10. LD = C:\Program Files\GNUARM\bin\arm-elf-gcc.exe
  11. AR = C:\Program Files\GNUARM\bin\arm-elf-ar.exe
  12. %.o: %.c
  13. $(CC) -c -O2 -o $@ -I host_src -D UNIFIED_DEBUG_MESSAGES -D EAS_FM_SYNTH -D _IMELODY_PARSER -D _RTTTL_PARSER -D _OTA_PARSER -D _WAVE_PARSER -D _REVERB_ENABLED -D _CHORUS_ENABLED $<
  14. %.o: %.s
  15. $(AS) -o $@ -EL -mcpu=arm946e-s -mfpu=softfpa $<
  16. OBJS = eas_main.o eas_report.o eas_wave.o eas_hostmm.o eas_config.o
  17. arm-fm-22k: $(OBJS)
  18. $(LD) -o $@ $(OBJS) libarm-fm-22k.a -lm