kolibrios-fun/programs/develop/libraries/menuetlibc/linuxtools/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

31 lines
777 B
Makefile

include $(MENUETDEV)/osrules.mak
WAIT =
ifdef ON_MINGW
WAIT = -DWEXITSTATUS=
endif
TOOLS = mgcc$(EXESUFFIX) mld$(EXESUFFIX) mgpp$(EXESUFFIX) mmkdep$(EXESUFFIX) \
mchmem$(EXESUFFIX)
all: $(TOOLS)
mgcc$(EXESUFFIX): mgcc.c
gcc mgcc.c -o mgcc$(EXESUFFIX) -DHAS_DEVENV=$(HAS_DEVENV) -s $(WAIT)
mgpp$(EXESUFFIX): mgpp.c
gcc mgpp.c -o mgpp$(EXESUFFIX) -DHAS_DEVENV=$(HAS_DEVENV) -s \
-DTOOLNAME=\"$(GPP_TOOLNAME)\" $(WAIT)
mld$(EXESUFFIX): mld.c
gcc mld.c -o mld$(EXESUFFIX) -DHAS_DEVENV=$(HAS_DEVENV) -s $(WAIT)
mchmem$(EXESUFFIX): mchmem.c
gcc mchmem.c -o mchmem$(EXESUFFIX) -DHAS_DEVENV=$(HAS_DEVENV) -s $(WAIT)
mmkdep$(EXESUFFIX): mmkdep.c
gcc mmkdep.c -o mmkdep$(EXESUFFIX) -DHAS_DEVENV=$(HAS_DEVENV) -s $(WAIT)
clean:
$(RM) $(TOOLS)