X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdl%2Fext%2Flibogg%2Fcommon.mak;fp=src%2Flib%2Fdl%2Fext%2Flibogg%2Fcommon.mak;h=d51e89b6ff9821c4e1afe158ad21450f5173e70d;hb=47cdc66151d973d975d0e31fb8a786eb639bebdb;hp=0000000000000000000000000000000000000000;hpb=4b23f27092a9470a741e3a18261ad389fd1929db;p=16.git diff --git a/src/lib/dl/ext/libogg/common.mak b/src/lib/dl/ext/libogg/common.mak new file mode 100755 index 00000000..d51e89b6 --- /dev/null +++ b/src/lib/dl/ext/libogg/common.mak @@ -0,0 +1,29 @@ +# this makefile is included from all the dos*.mak files, do not use directly +# NTS: HPS is either \ (DOS) or / (Linux) +NOW_BUILDING = EXT_LIBOGG_LIB +CFLAGS_THIS = -fr=nul -fo=$(SUBDIR)$(HPS).obj -i=.. -i..$(HPS).. -dHAVE_CONFIG_H + +OBJS = $(SUBDIR)$(HPS)bitwise.obj $(SUBDIR)$(HPS)framing.obj + +!ifdef EXT_LIBOGG_LIB +$(EXT_LIBOGG_LIB): $(OBJS) + wlib -q -b -c $(EXT_LIBOGG_LIB) -+$(SUBDIR)$(HPS)bitwise.obj -+$(SUBDIR)$(HPS)framing.obj +!endif + +# NTS we have to construct the command line into tmp.cmd because for MS-DOS +# systems all arguments would exceed the pitiful 128 char command line limit +.C.OBJ: + %write tmp.cmd $(CFLAGS_THIS) $(CFLAGS) $[@ + @$(CC) @tmp.cmd + +all: lib exe .symbolic + +lib: $(EXT_LIBOGG_LIB) .symbolic + +exe: .symbolic + +clean: .SYMBOLIC + del $(SUBDIR)$(HPS)*.obj + del tmp.cmd + @echo Cleaning done +