# Gauntlet/kernel/Photon/Makefile
# Created by Adam Wiggins: 05/08/1999
# Last Modified by Adam Wiggins: 18/09/1999
# Photon Platform Specific Makefile for Gauntlet

include ../../Makefile.conf
include ../Makefile.conf

SOURCES=init.c
OBJECTS=$(patsubst %.S, %.o, $(patsubst %.c, %.o, $(SOURCES)))

libphoton.a: $(OBJECTS) ./Makefile ../Makefile.conf ../../Makefile.conf
	$(AR) crs $@ $(OBJECTS);
	cp $@ ../libplatform.a

.depend: $(SOURCES) ./Makefile ../Makefile.conf ../../Makefile.conf
	$(CC) -M $(CPPFLAGS) $(SOURCES) > .depend

clean:
	rm -f *.o *.a *~

include .depend
