src/server/config/Makefile

changeset 23
a2c8fc23c90e
parent 16
a9bbd82d2dce
child 25
5dee29c7c530
equal deleted inserted replaced
22:adb0bda54e6b 23:a2c8fc23c90e
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 # POSSIBILITY OF SUCH DAMAGE. 26 # POSSIBILITY OF SUCH DAMAGE.
27 # 27 #
28 28
29 BUILD_ROOT = ../../../ 29 $(CONF_OBJPRE)%.o: config/%.c
30 OBJ_DIR = $(BUILD_ROOT)build/
31
32 CFLAGS = -g
33 LDFLAGS =
34
35 include objs.mk
36
37 all: $(CONFOBJS)
38
39 $(CONF_OBJPRE)%.o: %.c
40 cc -o $@ -c $(CFLAGS) $< 30 cc -o $@ -c $(CFLAGS) $<
41 31
42 $(CONF_OBJPRE)%.o: %.cpp 32 $(CONF_OBJPRE)%.o: config/%.cpp
43 CC -o $@ -c $(CFLAGS) $< 33 CC -o $@ -c $(CFLAGS) $<
44 34

mercurial