changed makefile structure M.Z.

This commit is contained in:
cvs
2003-10-06 12:40:04 +00:00
parent d542f758b0
commit d62d2902ac
7 changed files with 112 additions and 74 deletions

25
utils/makefile_linux Normal file
View File

@@ -0,0 +1,25 @@
#---------------------------------------------------------------------------
# Makefile for the SINQ hardware utilities
# machine-dependent part for Redhat Linux with AFS at PSI
#
# Mark Koennecke, November 1996
# Markus Zolliker, Oct 2003
#--------------------------------------------------------------------------
include ../../$(SRC)linux_def
CC = gcc
CFLAGS = -g -DLINUX $(DFORTIFY) -I$(SRC). -I$(ROOT)/psi/hardsup/$(SRC)
# -- the following macros are used as a replacement for some automatic variables
# due to different make versions.
# This is for GNU make.
#
# list of prerequisites including paths for VPATH
Q=$^
# Fortran/C source file name
F=$<
C=$<
include $(SRC)make_gen