merge hostsim in main
[aversive.git] / modules / hardware / adc / Makefile
index dc5d349..53ab5e7 100644 (file)
@@ -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