mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
Putting curlhandling in its own class.
This commit is contained in:
parent
bf4d174431
commit
aece4a5de2
4 changed files with 18 additions and 79 deletions
12
makefile
12
makefile
|
|
@ -13,8 +13,8 @@ LIBS = `pkg-config libcurl --cflags --libs`
|
|||
# Build
|
||||
all: pusher
|
||||
|
||||
pusher: simpleini pushhandler main
|
||||
$(BUILDCOMMAND) src/simpleini/ConvertUTF.o src/pushhandler.o src/main.o $(LIBS) -o $(TARGET)
|
||||
$(TARGET): simpleini curlhandler pushhandler main
|
||||
$(BUILDCOMMAND) src/simpleini/ConvertUTF.o src/curlhandler.o src/pushhandler.o src/main.o $(LIBS) -o $(TARGET)
|
||||
|
||||
|
||||
# simpleini
|
||||
|
|
@ -25,6 +25,14 @@ src/simpleini/ConvertUTF.o: src/simpleini/ConvertUTF.c
|
|||
$(BUILDCOMMAND) -c src/simpleini/ConvertUTF.c -o src/simpleini/ConvertUTF.o
|
||||
|
||||
|
||||
# curlhandler
|
||||
.PHONY: curlhandler
|
||||
curlhandler: src/curlhandler.o
|
||||
|
||||
src/curlhandler.o: src/curlhandler.cpp
|
||||
$(BUILDCOMMAND) -c src/curlhandler.cpp -o src/curlhandler.o
|
||||
|
||||
|
||||
# pushhandler
|
||||
.PHONY: pushhandler
|
||||
pushhandler: src/pushhandler.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue