aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: b5d8aae78a202f582cdfc90ea51f71d26de01d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
APP=./hi
OBJS=hi.o

.PHONY=all

all: $(APP)

$(APP): $(OBJS)
	ld -s -o $(APP) $(OBJS)

hi.o: hi.s
	as -o hi.o hi.s

clean:
	$(RM) $(APP) $(OBJS)