aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 09085e9..4e23ddb 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,13 @@ PHIDGETCONTROLCFLAGS += $(GITTAGFLAG)
all: modbuslog ftphelper lightingcontrol phidgetcontrol weatherstation_test
+clean:
+ rm -f $(SDIR)/modbuslog
+ rm -f $(SDIR)/ftphelper
+ rm -f $(SDIR)/lightingcontrol
+ rm -f $(SDIR)/phidgetcontrol
+ rm -f $(SDIR)/weatherstation_test
+
modbuslog: $(SDIR)/modbuslog.c
$(CC) -o $(SDIR)/$@ $^ $(MODBUSLOGCFLAGS) $(MODBUSLOGLIBS)