mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-03-07 19:40:53 +00:00
ar: add ar clone
This commit is contained in:
14
ar/Makefile
Normal file
14
ar/Makefile
Normal 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.*
|
||||
Reference in New Issue
Block a user