mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
Build system added...
This commit is contained in:
parent
b403801750
commit
aa23eef9cf
3 changed files with 4248 additions and 0 deletions
29
makefile.in
Normal file
29
makefile.in
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# compiler
|
||||
CXX = @CXX@
|
||||
CFLAGS = -Wall -Werror
|
||||
CFLAGS += -std=c++11
|
||||
|
||||
|
||||
# librarys
|
||||
LDLIBS = -lcurl
|
||||
LDLIBS += -lboost_program_options
|
||||
|
||||
|
||||
# details
|
||||
SOURCES = src/*.cpp
|
||||
TARGET = @PACKAGE_NAME@
|
||||
|
||||
|
||||
|
||||
$(TARGET):
|
||||
$(CXX) -o $(TARGET) $(CFLAGS) $(SOURCES) $(LDLIBS)
|
||||
|
||||
install: $(TARGET)
|
||||
mv $(TARGET) /usr/bin
|
||||
|
||||
remove:
|
||||
rm -f /usr/bin/$(TARGET)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
rm -f makefile
|
||||
Loading…
Add table
Add a link
Reference in a new issue