X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=getopt%2FMakefile.nt;fp=getopt%2FMakefile.nt;h=1297ec1ec356f196dac5d77c15e08ce3913214b1;hb=853b74083affe617d84ed790a4705dc1d1ed52c2;hp=0000000000000000000000000000000000000000;hpb=76fba74c85daa8a2494c3aa10046c77683e8e710;p=ctsim.git diff --git a/getopt/Makefile.nt b/getopt/Makefile.nt new file mode 100644 index 0000000..1297ec1 --- /dev/null +++ b/getopt/Makefile.nt @@ -0,0 +1,32 @@ +# Makefile for getopt + +!include + +CC=cl +LD=link +CFLAGS=-O -nologo -DHAVE_STRING_H +LDFLAGS= +O=.obj + +# variables +OBJ1 = getopt$(O) getopt1$(O) + +all: getopt.lib + +.obj: .c + $(CC) -c $(cvarsdll) $(CFLAGS) $*.c + + +getopt.lib: $(OBJ1) + echo something to del > getopt.lib + del getopt.lib + lib /out:getopt.lib $(OBJ1) + + +clean: + echo dummy > a.obj + echo dummy > a.exe + echo dummy > a.lib + del *.obj + del *.exe + del *.lib