New, custom build system.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@220 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2002-11-20 03:47:25 +00:00
parent ca9a9a3a08
commit 337c063cc4
125 changed files with 1672 additions and 775 deletions
+15
View File
@@ -0,0 +1,15 @@
default:
./build sc2
%.o:
@DIR=$(dir $@); \
if [ ! -d $$DIR ]; then \
mkdir -p "$$DIR"; \
fi
$(COMPILE) -o $@ -c $(CFLAGS) $<
target-%:
$(COMPILE) $(LDFLAGS) -o $* $^
-include $(DEPEND_FILE)