minix/lib/dummy/Makefile
2005-10-18 10:42:05 +00:00

22 lines
300 B
Makefile
Executable file

## Makefile for lib/dummy.
#
## Make a dummy libm library so that -lm works.
#
#
#LIBRARIES=libm
#
#libm_OBJECTS=dummy.o
#
#include ../Makefile.inc
#
#dummy.c:
# echo "int __dummy__;" > $@
#
all: ../libm.a
../libm.a:
echo "int __dummy__;" >dummy.c
$(CC) -c dummy.c
aal cr $@ dummy.o
rm dummy.?