From 4550dfc3f6e49ba17e2d7cb21164434561b13f72 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Mon, 3 Dec 2012 22:02:34 +0000 Subject: makefile: add clean target --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v1.2.3