diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-20 22:05:03 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-20 23:26:36 +0100 |
commit | 7249087222c562b7afd16d76eb31de6a83aa98ef (patch) | |
tree | d4c74bbc65d34f2bb053116a67b75b36062b59c5 /Makefile | |
parent | 96117e05c387c930c9619e3ae5c0ad0b4da196d2 (diff) | |
download | verteco-7249087222c562b7afd16d76eb31de6a83aa98ef.tar.gz |
weatherstation_test.c: initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,7 @@ GITTAGFLAG := -D'VERSION_STRING="$(shell LC_ALL=C git describe --tags)"' MODBUSLOGCFLAGS += $(GITTAGFLAG) FTPHELPERCFLAGS += $(GITTAGFLAG) -all: modbuslog ftphelper +all: modbuslog ftphelper weatherstation_test modbuslog: $(SDIR)/modbuslog.c $(CC) -o $(SDIR)/$@ $^ $(MODBUSLOGCFLAGS) $(MODBUSLOGLIBS) @@ -26,6 +26,9 @@ modbuslog: $(SDIR)/modbuslog.c ftphelper: $(SDIR)/ftphelper.c $(CC) -o $(SDIR)/$@ $^ $(FTPHELPERCFLAGS) $(FTPHELPERLIBS) +weatherstation_test: $(SDIR)/weatherstation_test.c + $(CC) -o $(SDIR)/$@ $^ $(MODBUSLOGCFLAGS) $(MODBUSLOGLIBS) + install: all $(INSTALL) $(SDIR)/modbuslog $(MODBUSLOGBINDIR)/modbuslog test -f $(MODBUSLOGCFGDIR)/modbuslog.cfg || $(INSTALL) -m 644 $(SDIR)/modbuslog.cfg $(MODBUSLOGCFGDIR)/modbuslog.cfg |