blob: f8dde35caf47e8e981718a42e11c7c81f4e714b5 [file] [log] [blame]
INCLUDES = include/basictypes.h
OBJS = basictypes.o arena.o linker.o dispatch.o
CC_OPTS = -g -Wall -Iinclude
all: $(OBJS)
gcc $(CC_OPTS) -o vex $(OBJS)
clean:
rm -f *.o vex
basictypes.o: basictypes.c $(INCLUDES)
gcc $(CC_OPTS) -c basictypes.c
arena.o: arena.c $(INCLUDES)
gcc $(CC_OPTS) -c arena.c
linker.o: linker.c $(INCLUDES)
gcc $(CC_OPTS) -c linker.c
dispatch.o: dispatch.c $(INCLUDES)
gcc $(CC_OPTS) -c dispatch.c