branch update for HEAD-2003021201
[reactos.git] / lib / user32 / Makefile
index 8bf5b11..3769634 100644 (file)
@@ -10,11 +10,18 @@ TARGET_BASE = 0x77e70000
 
 TARGET_SDKLIBS = ntdll.a kernel32.a gdi32.a
 
-TARGET_CFLAGS = -I./include -DUNICODE -Wall -Werror
+TARGET_CFLAGS = \
+ -I./include \
+ -DUNICODE \
+ -Wall \
+ -Werror \
+ -fno-builtin
+
+TARGET_LFLAGS = -nostartfiles -nostdlib
 
 TARGET_OBJECTS = $(TARGET_NAME).o
 
-TARGET_CLEAN = misc/*.o windows/*.o
+TARGET_CLEAN = controls/*.o misc/*.o windows/*.o
 
 include $(PATH_TO_TOP)/rules.mak