mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
29b9e3f0b4
svn path=/trunk/; revision=367
28 lines
680 B
Makefile
28 lines
680 B
Makefile
#
|
|
#
|
|
#
|
|
|
|
NAPI_FILES = ../../lib/ntdll/napi.c ../../include/ntdll/napi.h
|
|
|
|
all: genntdll$(EXE_POSTFIX) $(NAPI_FILES)
|
|
|
|
$(NAPI_FILES): sysfuncs.lst genntdll$(EXE_POSTFIX)
|
|
genntdll$(EXE_POSTFIX) sysfuncs.lst ../../lib/ntdll/napi.c ../../include/ntdll/napi.h
|
|
|
|
# (rjj) i removed the following option from line below: -If:\gnu\mingw32\include
|
|
genntdll$(EXE_POSTFIX): genntdll.c
|
|
$(NATIVE_CC) -g genntdll.c -o genntdll$(EXE_POSTFIX)
|
|
|
|
clean:
|
|
- $(RM) genntdll$(EXE_POSTFIX)
|
|
ifeq ($(DOSCLI),yes)
|
|
- $(RM) ..\..\lib\ntdll\napi.c
|
|
- $(RM) ..\..\include\ntdll\napi.h
|
|
else
|
|
- $(RM) ../../lib/ntdll/napi.c
|
|
- $(RM) ../../include/ntdll/napi.h
|
|
endif
|
|
|
|
.PHONY: all clean
|
|
|
|
include ../../rules.mak
|