Skip to content

Commit

Permalink
Add template app
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel committed Jun 27, 2011
1 parent d58b218 commit a8e56d9
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions skel/CLogging.cpp
1 change: 1 addition & 0 deletions skel/CLogging.h
1 change: 1 addition & 0 deletions skel/CNHmqtt.cpp
1 change: 1 addition & 0 deletions skel/CNHmqtt.h
23 changes: 23 additions & 0 deletions skel/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
all: nh-test

nh-test: nh-test.o CNHmqtt.o INIReader.o ini.o CLogging.o
g++ -lmosquitto -o nh-test nh-test.o CNHmqtt.o INIReader.o ini.o CLogging.o

CNHmqtt.o: CNHmqtt.cpp CNHmqtt.h
g++ -Wall -c CNHmqtt.cpp

nh-test.o: nh-test.cpp nh-test.h
g++ -Wall -c nh-test.cpp

ini.o: inireader/ini.c inireader/ini.h
gcc -c inireader/ini.c

INIReader.o: inireader/INIReader.cpp inireader/INIReader.h
g++ -c inireader/INIReader.cpp

CLogging.o: CLogging.cpp CLogging.h
g++ -Wall -c CLogging.cpp

clean:
rm -f nh-test nh-test.o CNHmqtt.o ini.o INIReader.o n CLogging.o

1 change: 1 addition & 0 deletions skel/inireader
1 change: 1 addition & 0 deletions skel/mosquitto.h
1 change: 1 addition & 0 deletions skel/nh-test.conf
1 change: 1 addition & 0 deletions skel/nh-test.cpp
1 change: 1 addition & 0 deletions skel/nh-test.h

0 comments on commit a8e56d9

Please sign in to comment.