1
# .COPYRIGHT: Copyright (c) 1988-2011 European Southern Observatory,
4
# .NAME $MIDASHOME/$MIDVERS/system/machine/makefile
5
# .LANGUAGE makefile syntax
6
# .ENVIRONMENT Unix Systems.
8
# .AUTHOR ESO-IPG, Garching
11
# .VERSION 2.2 920521: Removing SLIB CG
12
# .VERSION 3.0 930308: Using default.mk file
13
# .VERSION 4.0 940328: Compiles with -DNO_VALUES_H if error.
14
# .VERSION 4.1 111024: Delete computer.h before
17
include ../../local/default.mk
19
DEV_NULL= >/dev/null 2>&1
23
OUT = $(M)/computer.exe $(INC)/computer.h
28
$(M)/computer.exe: computer.o
29
rm -f $(INC)/computer.h
30
$(LDCC) computer.o $(MLIB) $(SLIB) -o $@
33
computer.o: computer.c
34
$(CC) $(CFLAGS) -c computer.c $(DEV_NULL) || \
35
$(CC) $(CFLAGS) -DNO_FLOAT_H -c computer.c $(DEV_NULL)
37
$(INC)/computer.h: $(M)/computer.exe