C and C++ web framework.
http://rapida.vilor.one/docs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
487 B
22 lines
487 B
include ../config.mk |
|
|
|
CXXSRC := $(shell find cxx -type f -name '*.cxx') |
|
CXXBINS := $(CXXSRC:.cxx=) |
|
CSRC := $(shell find c -type f -name '*.c') |
|
CBINS := $(CSRC:.c=) |
|
|
|
all: $(CBINS) $(CXXBINS) |
|
|
|
%: %.c ../librapida.a |
|
$(CC) $(CFLAGS) -I../include $^ -o $@ $(LDFLAGS) |
|
|
|
%: %.cxx ../librapidaxx.a |
|
$(CXX) $(CXXFLAGS) -std=c++11 -I../include $^ -o $@ $(LDFLAGS) |
|
|
|
../librapida.a: |
|
cd .. && make librapida.a |
|
|
|
../librapidaxx.a: |
|
cd .. && make librapidaxx.a |
|
|
|
.PHONY: ../librapida.a ../librapidaxx.a
|
|
|