objects may now be separated from sources M.Z.
SKIPPED: psi/make_gen psi/makefile psi/makefile_alpha psi/makefile_linux psi/hardsup/make_gen psi/hardsup/makefile psi/hardsup/makefile_alpha psi/hardsup/makefile_linux psi/tecs/make_gen psi/tecs/makefile psi/tecs/makefile_linux
This commit is contained in:
@ -6,15 +6,17 @@
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .f
|
||||
|
||||
VPATH=$(SRC)
|
||||
|
||||
OBJ=dummy.o
|
||||
|
||||
all: libdummy.a
|
||||
|
||||
libdummy.a: $(OBJ)
|
||||
- rm libdummy.a
|
||||
rm -f libdummy.a
|
||||
ar cr libdummy.a $(OBJ)
|
||||
ranlib libdummy.a
|
||||
|
||||
clean:
|
||||
- rm *.a
|
||||
- rm *.o
|
||||
rm -f *.a
|
||||
rm -f *.o
|
||||
|
6
dummy/makefile
Normal file
6
dummy/makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# this makefile delegates to a version specific makefile
|
||||
|
||||
# where this subdirectory is (relative to the sics root)
|
||||
S_DOWN=dummy
|
||||
|
||||
include ../make_forward
|
@ -4,11 +4,10 @@
|
||||
#
|
||||
# Mark Koennecke, June 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following line only for fortified version
|
||||
#DFORTIFY=-DFORTIFY
|
||||
#==========================================================================
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -std1 -g $(DFORTIFY) -I..
|
||||
CFLAGS = -std1 -g $(DFORTIFY) -I$(SRC)..
|
||||
|
||||
DUMMY=_dummy
|
||||
include ../alpha_def
|
||||
include make_gen
|
||||
|
@ -1,14 +1,13 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Makefile for the Dummy specific part of SICS
|
||||
# machine-dependent part for Tru64 Unix
|
||||
# machine-dependent part for Redhat Linux with AFS at PSI
|
||||
#
|
||||
# Mark Koennecke, June 2003
|
||||
#--------------------------------------------------------------------------
|
||||
# the following line only for fortified version
|
||||
#DFORTIFY=-DFORTIFY
|
||||
#==========================================================================
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g $(DFORTIFY) -I..
|
||||
CFLAGS = -g $(DFORTIFY) -I../$(SRC)
|
||||
|
||||
include make_gen
|
||||
DUMMY=_dummy
|
||||
include ../$(SRC)linux_def
|
||||
include $(SRC)make_gen
|
||||
|
Reference in New Issue
Block a user