# Today - Makefile
#
# (C) Stephen Fryatt, 2006

#Compiler

CC = gcc

# Flags

CCFlags = -mlibscl -mthrowback -Wall -O2 -fno-strict-aliasing
Include = -IC: -ISFlib:
Links = -lC:o.toolboxlib -lC:o.wimplib -lC:o.eventlib -lC:o.renderlib -lC:o.flexlib -lSFLib:o.SFLib

# Final target

OBJS = o.main
      
!RunImage: $(OBJS)
	$(CC) $(CCFlags) $(Include) $(Links) -o !Today/!RunImage $(OBJS)

# Individual source files

o.main: h.main c.main
	$(CC) $(CCFlags) $(Include) -o o.main -c c.main
