changed makefile structure M.Z.
This commit is contained in:
25
utils/makefile_linux
Normal file
25
utils/makefile_linux
Normal 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
|
||||
Reference in New Issue
Block a user