Files
kolibrios/programs/develop/libraries/menuetlibc/src/libmgfx/Makefile
right-hearted 6496d04506 Adding menuetlibc back to its place in /programs/develop/libraries
This version of menuetlibc was taken from revision 4743, right before I made any changes

git-svn-id: svn://kolibrios.org@4973 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-06-12 10:43:21 +00:00

39 lines
786 B
Makefile

THIS_SRCS = format.c load_image.c readjpeg.c libinit.c
include $(MENUET_LIBC_TOPDIR)/Make.rules
ifdef ON_MINGW
mk_lib: gen_tmp all
make -f Makefile-link OUTFILE="libmgfx.a"
copy libmgfx.a $(MENUETDEV)\lib
del libmgfx.a
dll: _gen_tmp all
make -f Makefile-link-dll OUTFILE="mgfx.so"
copy mgfx.so $(MENUETDEV)\lib
del mgfx.so
_gen_tmp:
@$(D_ECHO) > ..\tmp_make
gen_tmp:
@echo foo = bar> ..\tmp_make
@..\m_echo ..\tmp_make B_MENUET_LIBC_OBJS =
else
mk_lib: gen_tmp all
make -f Makefile-link OUTFILE="libmgfx.a"
mv -f libmgfx.a $(MENUETDEV)/lib
dll: _gen_tmp all
make -f Makefile-link-dll OUTFILE="mgfx.so"
mv -f mgfx.so $(MENUETDEV)/lib
_gen_tmp:
@$(D_ECHO) > ../tmp_make
gen_tmp:
@echo "foo = bar" > ../tmp_make
@../m_echo ../tmp_make B_MENUET_LIBC_OBJS =
endif