include ../../../Makeincl # ------------------------------------------ # Makefile Soccer Robots # by Thomas Braunl, UWA 1998 # ------------------------------------------ # using gcc68, etc. scripts by Thomas Braunl # compiler names and flags CC = gcc68 #EE = ~/gnu/eyesim/bin/ee #disable the simulator AS = gas68 LD = gcc68 FLAG = -c MATHLIB = -lm # -------------------------------------------------- OBJS = soccer.o global.o servos.o general.o sensors.o\ image.o drive.o camtable.o SRC = soccer.c global.c servos.c general.c sensors.c \ image.c drive.c camtable.c #OBJS = startup.o global.o servos.o general.o sensors.o\ # image.o drive.o low-level.o crc.o\ # packetise.o top-level.o list.o string.o\ # buffer.o eye-serial.o user.o control.o # -------------------------------------------------- #all: soccer99.sim main all: soccer99.hex .s.o: ${AS} ${FLAG} $*.s .c.o: ${CC} ${FLAG} $*.c soccer99.hex: ${OBJS} ${LD} ${OBJS} -o soccer99.hex ${MATHLIB} clean: -$(RM) ${OBJS} *.hex *.elf a.out core map