diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-03 22:02:34 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-03 22:02:34 +0000 |
commit | 4550dfc3f6e49ba17e2d7cb21164434561b13f72 (patch) | |
tree | 65962cc53607693897a85417c996caaacd905357 | |
parent | f00f52b181934c4774435075b36f9850a3d4311b (diff) | |
download | verteco-4550dfc3f6e49ba17e2d7cb21164434561b13f72.tar.gz |
makefile: add clean target
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |