diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-12 23:25:19 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-12 23:25:19 +0000 |
commit | d9e7690dc169c82d0011ca0a49f74e980f707b0b (patch) | |
tree | 3c3a9ffeb773a94e838d2c7f9d9e6e76374809cc /Makefile | |
parent | 94dc9792a9f636771ea1388f395ca89a2d07c74b (diff) | |
download | verteco-d9e7690dc169c82d0011ca0a49f74e980f707b0b.tar.gz |
Add ftp upload function + add documentation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,14 @@ CC=gcc -CFLAGS=-I/usr/include/modbus -LIBS=-lmodbus -lconfig SDIR=src +MODBUSLOGCFLAGS=-I/usr/include/modbus +MODBUSLOGLIBS=-lmodbus -lconfig +FTPHELPERCFLAGS= +FTPHELPERLIBS=-lconfig + +all: modbuslog ftphelper modbuslog: $(SDIR)/modbuslog.c - $(CC) -o $(SDIR)/$@ $^ $(CFLAGS) $(LIBS) + $(CC) -o $(SDIR)/$@ $^ $(MODBUSLOGCFLAGS) $(MODBUSLOGLIBS) + +ftphelper: $(SDIR)/ftphelper.c + $(CC) -o $(SDIR)/$@ $^ $(FTPHELPERCFLAGS) $(FTPHELPERLIBS) |