Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f03d8c40c5
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (26 sloc) 0.878 kb
CXX?=clang++
CFLAGS=-Wall -Wextra -pedantic -ggdb -std=c++0x
LDFLAGS=-lssl -lcrypto -lpthread
COMPILE= $(CXX) $(CFLAGS)
all: app skunk_test
test: dispatcher_test
app: csgi.o app.cpp
$(COMPILE) app.cpp csgi.o $(LDFLAGS) -o app
dispatcher_test: csgi.o dispatcher.o dispatcher_test.cpp
$(COMPILE) dispatcher_test.cpp csgi.o dispatcher.o $(LDFLAGS) -o dispatcher_test
./dispatcher_test
csgi.o: csgi.hpp csgi.cpp
$(COMPILE) -c csgi.cpp
dispatcher.o: dispatcher.hpp dispatcher.cpp
$(COMPILE) -c dispatcher.cpp
Skunk.o: Skunk.cpp Skunk.hpp csgi.hpp
$(COMPILE) -c Skunk.cpp
skunk_test: skunk_test.cpp Skunk.o csgi.o
$(COMPILE) skunk_test.cpp Skunk.o csgi.o $(LDFLAGS) -o skunk_test
test: skunk_test Selenium_test.py
killall -q skunk_test || true
./skunk_test &
sst-run -r html -s -d ./
killall -q skunk_test || true
clean:
rm -f *.o app dispatcher_test skunk_test
Jump to Line
Something went wrong with that request. Please try again.