X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fhardware%2Fadc%2FMakefile;fp=modules%2Fhardware%2Fadc%2FMakefile;h=53ab5e73c69e25ef0018c5337d18300b800a0786;hp=dc5d3491840aa0c5cd61db1d40e5813ef67b7ed1;hb=ebfaaedd491e61696cc93b353471be15408d23e4;hpb=99768092f81d0e183b61682e832abd0263472d2d diff --git a/modules/hardware/adc/Makefile b/modules/hardware/adc/Makefile index dc5d349..53ab5e7 100644 --- a/modules/hardware/adc/Makefile +++ b/modules/hardware/adc/Makefile @@ -1,6 +1,10 @@ TARGET = adc # List C source files here. (C dependencies are automatically generated.) +ifeq ($(HOST),avr) SRC = adc.c +else +SRC = adc_host.c +endif include $(AVERSIVE_DIR)/mk/aversive_module.mk