1 # TOP_DIR and OBJ_DIR should be set by the user to the right directories,
5 OBJ_DIR ?= $(TOP_DIR)/objs
8 # The setup below is for gcc on a Unix-like platform.
10 SRC_DIR = $(TOP_DIR)/src/tools/ftrandom
13 WFLAGS = -Wmissing-prototypes \
30 all: $(OBJ_DIR)/ftrandom
32 $(OBJ_DIR)/ftrandom: $(SRC_DIR)/ftrandom.c $(OBJ_DIR)/libfreetype.a
33 $(CC) -o $(OBJ_DIR)/ftrandom $(CFLAGS) $(SRC_DIR)/ftrandom.c $(LIBS)