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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user