From 855ca4822092ca96c20ea1042eac53fd56a3dde7 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Wed, 16 Jul 2014 16:05:55 +0530 Subject: [PATCH] not to use g++ --- linux/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index 1fe9a9c0..c8c3ca00 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -1,7 +1,6 @@ SHELL = /bin/sh CC = gcc -CXX = g++ CFLAGS = -O3 -std=gnu99 INCLUDE = -I../src/gpacmp4/ -I../src/libpng -I../src/zlib @@ -49,7 +48,7 @@ objs_dir: mkdir -p $(OBJS_DIR) $(TARGET): $(OBJS) $(OBJS_PNG) $(OBJS_GPACMP4) $(OBJS_ZLIB) - $(CXX) $(ALL_FLAGS) $(CFLAGS) $(OBJS) $(OBJS_PNG) $(OBJS_GPACMP4) $(OBJS_ZLIB) $(LDFLAGS) -o $@ + $(CC) $(ALL_FLAGS) $(CFLAGS) $(OBJS) $(OBJS_PNG) $(OBJS_GPACMP4) $(OBJS_ZLIB) $(LDFLAGS) -o $@ $(OBJS_DIR)/%.o: %.c $(CC) -c $(ALL_FLAGS) $(INCLUDE) $(CFLAGS) $< -o $@ @@ -74,7 +73,7 @@ uninstall: .PHONY: depend dep depend dep: - $(CXX) $(CXXFLAGS) -E -MM $(SRCS_C) $(SRCS_PNG) $(SRCS_ZLIB) \ + $(CC) $(CFLAGS) -E -MM $(SRCS_C) $(SRCS_PNG) $(SRCS_ZLIB) \ $(SRCS_GPACMP4_C) $(SRCS_GPACMP4_CPP) |\ sed 's/^[a-zA-Z_0-9]*.o/$(OBJS_DIR)\/&/' > .depend