ade8a4827a
git-svn-id: svn://kolibrios.org@4746 a494cfbc-eb01-0410-851d-a64ba20cac60
32 lines
697 B
Makefile
Executable File
32 lines
697 B
Makefile
Executable File
MENUETDEV=/programs/develop/libraries/menuetlibc
|
|
include osrules.mak
|
|
all: genconfig
|
|
@echo Building library for $(VERSION_OS)
|
|
gcc mkversion.c -o mkversion$(EXESUFFIX)
|
|
|
|
@echo $(MENUETDEV)
|
|
ifdef ON_MINGW
|
|
mkversion$(EXESUFFIX) < version > include/libc/version.h
|
|
else
|
|
./mkversion$(EXESUFFIX) < version > include/libc/version.h
|
|
endif
|
|
make -C linuxtools
|
|
make -C src depend
|
|
make -C src
|
|
make -C stub
|
|
make -C programs
|
|
|
|
genconfig:
|
|
ifdef ON_MINGW
|
|
@echo #$(NEED_UNDERSCORES) NEEDS_UNDERSCORES> config.h
|
|
else
|
|
@echo "#$(NEED_UNDERSCORES) NEEDS_UNDERSCORES" > config.h
|
|
endif
|
|
|
|
clean:
|
|
make -C src clean
|
|
make -C linuxtools clean
|
|
make -C stub clean
|
|
make -C programs clean
|
|
$(RM) mkversion$(EXESUFFIX)
|