1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
BASEPATH=..\.. all: start \ dll \ end !include $(BASEPATH)\OS2MAK.INC dll: ..\gpsierra.dll OBJS=sierra.o library.o .c.o : @$(CC) -o $@ $< $(CCFLAGS) sierra.def: sierra.o @$(MAKEDEF) ..\gpsierra.dll: $(OBJS) sierra.def @$(LINK) $(DLLLINKFLAGS) -o $@ $** $(LIBS)