# Part of the A-A-P recipe executive: Default variables # Copyright (c) 2002 stichting NLnet Labs # Permission to copy and use this file is specified in the file COPYING. # If this file is missing you can find it here: http://www.a-a-p.org/COPYING CC = cc CFLAGS = LDFLAGS = CPPFLAGS = # TODO: OBJSUF actually depends on the compiler, how to find out? @if os.name == 'nt' or os.name == 'dos' or os.name == 'os2': OBJSUF = .obj EXESUF = .exe @else: OBJSUF = .o EXESUF = # Get the time, so that it remains the same while executing the recipe. :python import time GMTIME = time.gmtime(time.time()) DATESTR = '"' + time.strftime("%Y %b %d", GMTIME) + '"' TIMESTR = time.strftime("%X", GMTIME) # Default depedency checkers # GCC can detect included files, it works recursively. :autodepend {recursive} c cpp :sys $CC $CFLAGS -E -MM $source >$target # vim: set sw=4 sts=4 tw=79 : .