1 # this makefile is included from all the dos*.mak files, do not use directly
2 # NTS: HPS is either \ (DOS) or / (Linux)
3 NOW_BUILDING = EXT_LIBOGG_LIB
4 CFLAGS_THIS = -fr=nul -fo=$(SUBDIR)$(HPS).obj -i=.. -i..$(HPS).. -dHAVE_CONFIG_H
6 OBJS = $(SUBDIR)$(HPS)bitwise.obj $(SUBDIR)$(HPS)framing.obj
9 $(EXT_LIBOGG_LIB): $(OBJS)
10 wlib -q -b -c $(EXT_LIBOGG_LIB) -+$(SUBDIR)$(HPS)bitwise.obj -+$(SUBDIR)$(HPS)framing.obj
13 # NTS we have to construct the command line into tmp.cmd because for MS-DOS
14 # systems all arguments would exceed the pitiful 128 char command line limit
16 %write tmp.cmd $(CFLAGS_THIS) $(CFLAGS) $[@
19 all: lib exe .symbolic
21 lib: $(EXT_LIBOGG_LIB) .symbolic
26 del $(SUBDIR)$(HPS)*.obj