1
# KER --- Kernel modules
3
KER1OBJS= alloc.o assoc.o behaviour.o class.o conversion.o \
4
csymbol.o debug.o declarations.o error.o gc.o \
5
getmethod.o glob.o global.o goodies.o passing.o \
6
method.o name.o object.o programobject.o save.o \
7
self.o sendmethod.o sourcelocation.o timer.o \
8
trace.o type.o variable.o vmi.o xref.o error.o \
11
KEROBJS= $(KER1OBJS) $(KER2OBJS)
12
KER1SRC= $(KER1OBJS:.o=.c)
17
$(AR) $(ARFLAGS) $(LIB) $(KEROBJS)
21
$(MKPROTO) $(KER1SRC:.o=.c) | $(CLPROTO) > proto.h
23
version.h: ../../Makefile
24
@echo "#define MACHINE \"$(ARCH)\"" > %$@%
25
@echo "#define PCE_VERSION \"$(VERSION)\"" >> %$@%
26
@echo "#define OS \"$(OS)\"" >> %$@%
27
@if cmp -s %$@% $@; then rm %$@%; else mv %$@% $@; fi
33
glob.o: ../h/kernel.h ../h/types.h ../h/graphics.h ../h/lang.h
36
$(RM) -f *~ a.out core $(KEROBJS) addlib