mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-22 02:26:24 +00:00
15 lines
292 B
Makefile
15 lines
292 B
Makefile
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.*
|