1
0
mirror of https://github.com/cahirwpz/libnix.git synced 2025-12-08 14:58:56 +00:00
Files
amiga-libnix2/sources/startup/Makefile.in
2014-01-05 20:02:29 +01:00

69 lines
1.1 KiB
Makefile

# make startup-files
# 13-Apr-94 G. Nikl
# 14-Apr-94 M. Fleischer clean+veryclean added
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
CPP = @CPP@
AS = @AS@
AR = @AR@
RANLIB = @RANLIB@
AWK = @AWK@
#### End system configuration section ####
OPTIONS=-I$(srcdir)/../headers -O -fomit-frame-pointer
%.o: %.c
$(CC) $(OPTIONS) -c $^ 2>&1|tee $*.err
-if test ! -s $*.err; then rm $*.err; fi
echo "\$$$(V)" >>$@
.PHONY: all filelist subdirs clean veryclean
all: nrcrt0.o nbcrt0.o nlrcrt0.o nlbcrt0.o ncrt0.o libinit.o libinitr.o devinit.o
subdirs:
filelist:
clean:
veryclean:
-rm *.o
# baserelative resident startup-code
nrcrt0.o: nrcrt0.S
$(CC) -c $^
echo "\$$$(V)" >>$@
# large baserelative resident startup-code
nlrcrt0.o: nlrcrt0.S
$(CC) -m68020 -c $^
echo "\$$$(V)" >>$@
# baserelative startup code
nbcrt0.o: nbcrt0.S
$(CC) -c $^
echo "\$$$(V)" >>$@
# large baserelative startup code
nlbcrt0.o: nlbcrt0.S
$(CC) -m68020 -c $^
echo "\$$$(V)" >>$@
# normal (=large) startup code
ncrt0.o: ncrt0.S
$(CC) -c $^
echo "\$$$(V)" >>$@