Commit 8dd7f911 authored by rswindell's avatar rswindell
Browse files

Enabled auto-dependency checking (no longer uses depends.mk).

parent 7e8e6ecc
......@@ -2,11 +2,11 @@
#########################################################################
# Makefile for Synchronet BBS #
# For use with GNU make and GNU C Compiler #
# For use with GNU make and GNU C Compiler or Borland Kylix C++ #
# @format.tab-size 4, @format.use-tabs true #
# #
# Linux: gmake [bcc=1] #
# FreeBSD: gmake os=FreeBSD #
# gcc: gmake #
# Borland (still in testing/debuging stage): gmake bcc=1 #
# #
# Optional build targets: dlls, utils, mono, all (default) #
#########################################################################
......@@ -25,13 +25,13 @@ ifdef bcc
CCPRE := bcc
CCPP = bc++ -q
LD = ilink -q
CFLAGS += -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus
CFLAGS += -mm -md -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus
else
CC = gcc
CCPRE := gcc
CCPP = g++
LD = ld
CFLAGS += -Wall
CFLAGS += -MMD -Wall
endif
SLASH = /
OFILE = o
......@@ -57,7 +57,7 @@ endif
LIBODIR := $(CCPRE).$(os).lib
EXEODIR := $(CCPRE).$(os).exe
DELETE = rm -f
DELETE = rm -fv
CFLAGS += -DJAVASCRIPT -I../mozilla/js/src -I$(XPDEV) -I$(UIFC)
......@@ -323,4 +323,6 @@ $(FILELIST): \
@echo Linking $@
@$(CC) -o $@ $^
include depends.mk
# Auto-dependency files
-include $(LIBODIR)/*.d
-include $(EXEODIR)/*.d
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment