wmi-1.3.16 from opsview.com

This commit is contained in:
Are Casilla
2019-02-16 00:16:52 +01:00
parent 163fdd3d1b
commit 17b3af2911
2146 changed files with 678824 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
CFLAGS=-mno-cygwin -Os
LDFLAGS=-mno-cygwin -s -Os
CC := $(shell uname | grep -qi linux && echo i586-mingw32msvc-gcc || echo gcc)
LD=$(CC)
all: winexesvc_exe.c
winexesvc.exe: winexesvc.o service.o
$(LD) $(LDFLAGS) -o $@ $^
winexesvc_exe.c: winexesvc.exe bin2c.exe
./bin2c.exe winexesvc_exe winexesvc.exe > $@
bin2c.exe: bin2c.c
gcc -s -o $@ $^
clean:
-@rm *.exe *.o winexesvc_exe.c