From 5850227394b5a422ff15d69deea403421df4d17a Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Sun, 27 May 2001 20:09:44 +0000 Subject: [PATCH] Fixed makefiles --- GNUmakef.inc | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/GNUmakef.inc b/GNUmakef.inc index 679fb6d..154cb56 100644 --- a/GNUmakef.inc +++ b/GNUmakef.inc @@ -86,42 +86,3 @@ ifneq ($(DEPS),) include $(DEPS) endif endif - -$(FOBJPATH)/%$(OBJEXT): %.c - @echo building $(basename $<)$(OBJEXT) - @$(CC) -c $(CFLAGS) -o $@ $< - -ifeq ($(PLATFORM),cyg) -$(FOBJPATH)/%$(OBJEXT): %.rc - @echo creating resources - @$(WINDRES) -o $@ $< -endif - -ifeq ($(PLATFORM),emx) -$(FOBJPATH)/%.res: %.rc - @echo creating resources - @rc $(subst -I,-i ,$(INCS)) -x1 -r $< -endif - -SOURCES= --include bld$(PLATFORM).inc -ifeq ($(PLATFORM),cyg) -OBJS=$(addprefix $(FOBJPATH)/,$(patsubst %.rc,%.o,$(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(filter %.c %.cpp %.rc,$(SOURCES)))))) -else -ifeq ($(PLATFORM),emx) -OBJS=$(addprefix $(FOBJPATH)/,$(patsubst %.rc,%.res,$(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(filter %.c %.cpp %.rc,$(SOURCES)))))) -else -OBJS=$(addprefix $(FOBJPATH)/,$(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(filter %.c %.cpp %.rc,$(SOURCES))))) -endif -endif -DEPS=$(addprefix $(FDEPPATH)/$(TARGET)/,$(patsubst %.c,%.d,$(patsubst %.cpp,%.d,$(filter %.c %.cpp,$(SOURCES))))) - -clean: - @echo cleaning... - @rm -f $(OBJS) $(DEPS) bld$(PLATFORM).inc - -ifeq ($(FDEPPATH)/dep,$(wildcard $(FDEPPATH)/de?)) -ifneq ($(DEPS),) --include $(DEPS) -endif -endif