aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-12-03 22:02:34 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-12-03 22:02:34 +0000
commit4550dfc3f6e49ba17e2d7cb21164434561b13f72 (patch)
tree65962cc53607693897a85417c996caaacd905357
parentf00f52b181934c4774435075b36f9850a3d4311b (diff)
downloadverteco-4550dfc3f6e49ba17e2d7cb21164434561b13f72.tar.gz
makefile: add clean target
-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)