home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DEFCON 15
/
DefCon15.bin
/
Speakers
/
Jennings
/
Extras
/
incognito
/
makefile
< prev
next >
Wrap
Makefile
|
2007-03-12
|
1KB
|
31 lines
# Shared libraries to link against
LIBS = kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib psapi.lib mpr.lib netapi32.lib Advapi32.lib
# Source files shared between incognito.exe and incognito_service.exe
SHARED_SOURCES = child_process.c handle_arguments.c hash_stealer.c list_tokens.c process_execution.c remote_connection.c token_info.c user_management.c XGetopt.c
CFLAGS = /GS /nologo /W3 /WX -c
LFLAGS = /SAFESEH /nologo
OBJECTS = $(SHARED_SOURCES:.c=.obj)
all: incognito.exe incognito_service.exe
incognito.exe: $(OBJECTS) incognito.obj
link $(LFLAGS) /OUT:$@ $(OBJECTS) incognito.obj $(LIBS)
incognito_service.exe: $(OBJECTS) incognito_service.obj
link $(LFLAGS) /OUT:$@ $(OBJECTS) incognito_service.obj $(LIBS)
.o: $(SHARED_SOURCES)
cl $(CFLAGS) $@
incognito.obj: incognito.c
cl $(CFLAGS) incognito.c
incognito_service.obj: incognito_service.c
cl $(CFLAGS) incognito_service.c
clean:
del *.obj *.exe