3 XLIB
= @X_PRE_LIBS@
-lXext
-lX11 @X_EXTRA_LIBS@
16 hello
: hello.o ..
/winelib.a
17 gcc
-g
-o hello hello.o ..
/winelib.a
-lm
$(X_LIBS
) -lXpm
$(XLIB
)
19 hello2
: hello2.o ..
/winelib.a
20 gcc
-g
-o hello2 hello2.o ..
/winelib.a
-lm
$(X_LIBS
) -lXpm
$(XLIB
)
22 hello3
: hello3res.o hello3.o
23 gcc
-g
-o hello3 hello3.o hello3res.o ..
/winelib.a
-lm
$(X_LIBS
) -lXpm
$(XLIB
)
27 hello3res.o
: hello3res.rc
28 echo
"#include \"windows.h\"" >hello3res.rct
29 echo WINDOWS_H_ENDS_HERE
>>hello3res.rct
30 cat hello3res.rc
>>hello3res.rct
31 $(CC
) $(ALLCFLAGS
) -E
-x c
-P hello3res.rct | sed
-e
'1,/^WINDOWS_H_ENDS_HERE/d' | ..
/rc
/winerc
-o hello3res
-v
-p hello3
37 $(RM
) hello hello2 hello3