X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fhardware%2Fadc%2FMakefile;h=53ab5e73c69e25ef0018c5337d18300b800a0786;hp=dc5d3491840aa0c5cd61db1d40e5813ef67b7ed1;hb=8a0b4d5c16a9a304515b42f56ff321c2cdd27eb6;hpb=ccc6954bb046671b9e28c5806db5121c1eef49c0 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