mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 20:32:35 +03:00
cd74d1af33
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
27 lines
585 B
Makefile
27 lines
585 B
Makefile
include osrules.mak
|
|
all: genconfig
|
|
@echo Building library for $(VERSION_OS)
|
|
gcc mkversion.c -o mkversion$(EXESUFFIX)
|
|
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
|
|
|
|
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
|
|
$(RM) mkversion$(EXESUFFIX)
|