ar: add ar clone

This commit is contained in:
Mikael Pettersson
2013-08-08 19:23:13 +00:00
parent 672bc82440
commit dbeffc60de
2 changed files with 1020 additions and 0 deletions

14
ar/Makefile Normal file
View File

@@ -0,0 +1,14 @@
CC=gcc
CFLAGS=-O2 -g -Wall
CPPFLAGS=-I../include
AROBJS= ar.o
LIBOBJS=../lib/pdp10-stdio.o
ar: $(AROBJS) $(LIBOBJS)
$(LINK.c) -o $@ $^
ar.o: ar.c ../include/pdp10-ar.h ../include/pdp10-inttypes.h ../include/pdp10-stdint.h ../include/pdp10-stdio.h
clean:
rm -f $(AROBJS) ar a.out core.*

1006
ar/ar.c Normal file

File diff suppressed because it is too large Load Diff