# MrF Yaroze template makefile # James Rutherford # 16/4/1998 - Version 1.0 # # When you include a new library, remember to: # - alter the OBJS macro to include [yourlib].o # - alter the main.o dependency to include [yourlib].h # - include the [yourlib].o dependency # # Improvements to > hexheroes@writeme.com # Web address > http://www.netyaroze-europe.com/~mrfrosty CC = gcc CFLAGS = -O3 RM = del LINKER = -Xlinker -Ttext -Xlinker 80100000 LIBDIR = . PROGRAM = game.pxe OBJS = main.o $(LIBDIR)/fcont1_5.o all: $(PROGRAM) $(PROGRAM): $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(LINKER) -o $(PROGRAM) main.o: main.c $(LIBDIR)/fcont1_5.h # Place your included libraries below fcont1_5.o: $(LIBDIR)/fcont1_5.c $(LIBDIR)/fcont1_5.h clean: $(RM) $(PROGRAM) $(RM) $(OBJS)