1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

26 lines
564 B
Makefile

#
# Builds the real makefile
#
all: so_files build
so_files:
-mkdir so_files
-move ..\*.so.c so_files
build: ..\*.c
-rename ..\config.h configold.h
cd "$(OUTDIR)"
echo >unistd.h /* dummy file */
echo !include ..\makefile.inc >submake
echo dlls: $(?F:.c=.dll) >>submake
echo objs: $(?F:.c=.obj) >>submake
for %%a in ($(?B)) do @echo %%a.obj: ..\..\%%a.c >>submake
$(MAKE) CONFIG=$(CONFIG) submake
cd ..
-rename ..\configold.h config.h
clean:
cd "$(OUTDIR)"
-del *.dll *.exp *.lib *.obj *.pdb *.ilk unistd.h submake
cd ..