~ben-kietzman/centralmon/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Ben Kietzman
  • Date: 2020-01-17 16:23:14 UTC
  • Revision ID: ben@kietzman.org-20200117162314-ylx1mx1gdsgsqkzp
Saved work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
obj/centralmon.o: centralmon.cpp
27
27
        -if [ ! -d obj ]; then mkdir obj; fi;
28
 
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
 
28
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
29
29
 
30
30
obj/centralmond.o: centralmond.cpp
31
31
        -if [ ! -d obj ]; then mkdir obj; fi;
32
 
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
 
32
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
33
33
 
34
34
obj/centralmon_trigger.o: centralmon_trigger.cpp
35
35
        -if [ ! -d obj ]; then mkdir obj; fi;
36
 
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++14 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
 
36
        if test "$(MAKE_UNAME)" = "Linux"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DLINUX $(CPPFLAGS) -I/data/extras/include -I../common; elif test "$(MAKE_UNAME)" = "SunOS"; then g++ -std=c++17 -Wall -ggdb -c $< -o $@ -DSOLARIS $(CPPFLAGS) -I/data/extras/include -I/usr/local/ssl/include -I../common; fi;
37
37
 
38
38
install: bin/centralmon bin/centralmon_trigger
39
39
        install --mode=755 bin/centralmon ${prefix}/sbin/