mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-13 15:27:35 +00:00
nm: add Makefile
This commit is contained in:
parent
3f19d68e1b
commit
eb40fdb1be
14
nm/Makefile
Normal file
14
nm/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
CC=gcc
|
||||
CFLAGS=-O2 -g -Wall
|
||||
CPPFLAGS=-I../include
|
||||
|
||||
NMOBJS= nm.o
|
||||
LIBOBJS=../lib/pdp10-elf36.o ../lib/pdp10-extint.o ../lib/pdp10-stdio.o
|
||||
|
||||
nm: $(NMOBJS) $(LIBOBJS)
|
||||
$(LINK.c) -o $@ $^
|
||||
|
||||
nm.o: nm.c ../include/pdp10-elf36.h ../include/pdp10-inttypes.h ../include/pdp10-stdint.h ../include/pdp10-stdio.h
|
||||
|
||||
clean:
|
||||
rm -f $(NMOBJS) nm a.out core.*
|
||||
Loading…
x
Reference in New Issue
Block a user