~ chicken-core (chicken-5) 57cd52d63de54f80dbcc22f089d9e15debad8f22
commit 57cd52d63de54f80dbcc22f089d9e15debad8f22 Author: felix <felix@call-with-current-continuation.org> AuthorDate: Sat Nov 28 22:18:37 2009 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Mon Nov 30 20:05:48 2009 +0100 include default config file in Makefile, if no CONFIG or PLATFORM given diff --git a/Makefile b/Makefile index 947963ac..f947d337 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Makefile - toplevel makefile # -# Copyright (c) 2007, Felix L. Winkelmann # Copyright (c) 2008-2009, The Chicken Team +# Copyright (c) 2007, Felix L. Winkelmann # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following @@ -25,6 +25,10 @@ # POSSIBILITY OF SUCH DAMAGE. +ifeq ($(CONFIG)$(PLATFORM),) +CONFIG=config.make +endif + ifneq ($(CONFIG),) include $(CONFIG) endifTrap