Fold shared.mk into Makefile

There is only one Makefile in this repository.
This commit is contained in:
Khaled Hosny
2014-11-22 16:40:37 +02:00
parent 3e1f5ca955
commit a262e006d1
2 changed files with 13 additions and 19 deletions
+13 -2
View File
@@ -1,6 +1,17 @@
#Converter makefile
OS := $(shell uname)
include shared.mk
IDIRS=-I./brotli/dec/ -I./brotli/enc/ -I./src
CPP = g++
LFLAGS =
GFLAGS=-no-canonical-prefixes -fno-omit-frame-pointer -m64
CPPFLAGS = -c $(IDIRS) -std=c++0x $(GFLAGS)
ifeq ($(OS), Darwin)
CPPFLAGS += -DOS_MACOSX
else
CPPFLAGS += -fno-tree-vrp
endif
SRCDIR = src
-17
View File
@@ -1,17 +0,0 @@
OS := $(shell uname)
IDIRS=-I./brotli/dec/ -I./brotli/enc/ -I./src
GFLAGS=-no-canonical-prefixes -fno-omit-frame-pointer -m64
CPP = g++
LFLAGS =
CPPFLAGS = -c $(IDIRS) -std=c++0x $(GFLAGS)
ifeq ($(OS), Darwin)
CPPFLAGS += -DOS_MACOSX
else
CPPFLAGS += -fno-tree-vrp
endif
%.o : %.c
$(CPP) $(CPPFLAGS) $< -o $@