Makefile

URL: https://mirkwood.cs.edinboro.edu/~bennett/class/cmsc3100/spring2026/notes/files/code/soln/Makefile
 
OBJS = reader preList

AS = nasm

LDFLAGS = -g -no-pie -z noexecstack
CC = g++

all: ${OBJS}

reader: reader.o ioCalls.o lib.o
preList: preList.o ioCalls.o lib.o

%.o: %.asm 
	${AS} -f elf64 -g $< 

clean:
	rm -f ${OBJS} *.o