summaryrefslogtreecommitdiffstats
path: root/.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk
diff options
context:
space:
mode:
Diffstat (limited to '.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk')
-rw-r--r--.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk48
1 files changed, 0 insertions, 48 deletions
diff --git a/.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk b/.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk
deleted file mode 100644
index b364211..0000000
--- a/.pc/0008-951-fix-calling-compiler.patch/makefiles/subdir.mk
+++ /dev/null
@@ -1,48 +0,0 @@
-include $(ROOTDIR)/makefiles/config.mk
-
-INCLUDE = $(ZINCLUDE) $(EXTERNAL_INCLUDE)
-
-HEADERS = $(wildcard *.h)
-SOURCES_CPP = $(wildcard *.cpp)
-SOURCES_OBJCPP = $(wildcard *.M)
-SOURCES_OBJC = $(wildcard *.m)
-OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES_CPP)) $(patsubst %.M, %.o, $(SOURCES_OBJCPP)) $(patsubst %.m, %.o, $(SOURCES_OBJC))
-
-.SUFFIXES: .cpp .M .m .o .h
-
-.cpp.o:
- @echo -n 'Compiling $@ ...'
-ifdef CFLAGS_NOARCH
- @$(CC) -MM $(CFLAGS_PRE) $(INCLUDE) $< -o `basename $< .cpp`.d
- @$(CC) -c $(CFLAGS) $(INCLUDE) $<
-else
- @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
-endif
- @echo ' OK'
-
-.M.o:
- @echo -n 'Compiling $@ ...'
-ifdef CFLAGS_NOARCH
- @$(CC) -MM $(CFLAGS_PRE) $(INCLUDE) $< -o `basename $< .M`.d
- @$(CC) -c $(CFLAGS) $(INCLUDE) $<
-else
- @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
-endif
- @echo ' OK'
-
-.m.o:
- @echo -n 'Compiling $@ ...'
-ifdef CFLAGS_NOARCH
- @$(CC) -MM $(CFLAGS_PRE) $(INCLUDE) $< -o `basename $< .m`.d
- @$(CC) -c $(CFLAGS) $(INCLUDE) $<
-else
- @$(CC) -MMD -c $(CFLAGS) $(INCLUDE) $<
-endif
- @echo ' OK'
-
-all: $(OBJECTS)
-
-clean:
- @$(RM) *.o *.s *.ld *.d
-
--include *.d